Ağ Sorun Giderme, ağ bağlantı sorunlarını tespit etme ve çözme sürecidir. Bug bounty ve pentest'lerde hedef sistemlere erişim sağlayabilmek için kritik öneme sahiptir.
# IP Bilgisi
ipconfig
ipconfig /all
# Bağlantı Testi
ping google.com
ping -t 192.168.1.1
ping -n 10 192.168.1.1
# Rota Tespiti
tracert google.com
tracert -d google.com # DNS çözümlemesiz
# DNS Sorgusu
nslookup google.com
nslookup 8.8.8.8
nslookup -type=MX google.com
# Port Testi
telnet google.com 80
Test-NetConnection google.com -Port 443 (PowerShell)
# Bağlantı Durumu
netstat -an
netstat -an | find "ESTABLISHED"
netstat -b # Uygulama bilgisi
Başlat → Ayarlar → Ağ ve İnternet → Durum → Ağ Sorun Gidericisi
# Network reset
netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
# Yeniden başlat
shutdown /r /t 0
ipconfig /flushdns
ipconfig /registerdns
# 1. IP kontrolü
ipconfig
# 2. Gateway ping
ping 192.168.1.1
# 3. DNS kontrolü
nslookup google.com
# 4. External ping
ping 8.8.8.8
# DNS cache temizle
ipconfig /flushdns
# DNS sunucusu değiştir
# Ağ adaptörü → IPv4 → DNS: 8.8.8.8 / 1.1.1.1
# DNS test
nslookup google.com 8.8.8.8
# Test port
telnet google.com 80
telnet google.com 443
Test-NetConnection google.com -Port 443
# Firewall kontrolü
netsh advfirewall show allprofiles
netsh advfirewall show rule name=all
# Ping latency
ping -n 100 google.com
# Tracert ile gecikme noktası
tracert google.com
# Bandwidth test
# iperf veya speedtest
# IP Bilgisi
Get-NetIPAddress
Get-NetRoute
# DNS
Resolve-DnsName google.com
Resolve-DnsName 8.8.8.8
# Ping
Test-Connection google.com -Count 5
Test-Connection -ComputerName 192.168.1.1 -Count 5
# Port Testi
Test-NetConnection -ComputerName google.com -Port 443
# Tracert
Test-NetConnection -ComputerName google.com -TraceRoute
# DHCP
Get-NetIPConfiguration
Release-NetIPAddress
Renew-NetIPAddress
# WLAN report
netsh wlan show wlanreport
# Kablosuz ağları listele
netsh wlan show networks
# Profilleri listele
netsh wlan show profiles
# Şifre görüntüleme
netsh wlan show profile name="WiFi Adı" key=clear
Temel Ağ Test Komutları
cmd# IP Bilgisi
ipconfig
ipconfig /all
# Bağlantı Testi
ping google.com
ping -t 192.168.1.1
ping -n 10 192.168.1.1
# Rota Tespiti
tracert google.com
tracert -d google.com # DNS çözümlemesiz
# DNS Sorgusu
nslookup google.com
nslookup 8.8.8.8
nslookup -type=MX google.com
# Port Testi
telnet google.com 80
Test-NetConnection google.com -Port 443 (PowerShell)
# Bağlantı Durumu
netstat -an
netstat -an | find "ESTABLISHED"
netstat -b # Uygulama bilgisi
Windows Ağ Sorun Giderme Araçları
1. Network Troubleshooter (GUI)
textBaşlat → Ayarlar → Ağ ve İnternet → Durum → Ağ Sorun Gidericisi
2. Reset Network
cmd# Network reset
netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
# Yeniden başlat
shutdown /r /t 0
3. DNS Flush
cmdipconfig /flushdns
ipconfig /registerdns
Ağ Sorun Giderme Senaryoları
1. İnternet Yok
cmd# 1. IP kontrolü
ipconfig
# 2. Gateway ping
ping 192.168.1.1
# 3. DNS kontrolü
nslookup google.com
# 4. External ping
ping 8.8.8.8
2. DNS Sorunu
cmd# DNS cache temizle
ipconfig /flushdns
# DNS sunucusu değiştir
# Ağ adaptörü → IPv4 → DNS: 8.8.8.8 / 1.1.1.1
# DNS test
nslookup google.com 8.8.8.8
3. Port Blokajı
cmd# Test port
telnet google.com 80
telnet google.com 443
Test-NetConnection google.com -Port 443
# Firewall kontrolü
netsh advfirewall show allprofiles
netsh advfirewall show rule name=all
4. Yavaş Bağlantı
cmd# Ping latency
ping -n 100 google.com
# Tracert ile gecikme noktası
tracert google.com
# Bandwidth test
# iperf veya speedtest
Ağ Sorun Giderme PowerShell
powershell# IP Bilgisi
Get-NetIPAddress
Get-NetRoute
# DNS
Resolve-DnsName google.com
Resolve-DnsName 8.8.8.8
# Ping
Test-Connection google.com -Count 5
Test-Connection -ComputerName 192.168.1.1 -Count 5
# Port Testi
Test-NetConnection -ComputerName google.com -Port 443
# Tracert
Test-NetConnection -ComputerName google.com -TraceRoute
# DHCP
Get-NetIPConfiguration
Release-NetIPAddress
Renew-NetIPAddress
Kablosuz Ağ Sorun Giderme
cmd# WLAN report
netsh wlan show wlanreport
# Kablosuz ağları listele
netsh wlan show networks
# Profilleri listele
netsh wlan show profiles
# Şifre görüntüleme
netsh wlan show profile name="WiFi Adı" key=clear
🔒 Bu içeriği görmek için giriş yapın