nmap使用技巧

扫描参数,使用syn扫描速度更快

nmap 8.210.0.0/16 -sS -p1-65535

输出格式,IP:端口

nmap -vv 8.210.0.0/16 -p80,8080 | grep "Discovered open port" | awk {'print $6":"$4'} | awk -F/ {'print $1'} > output.txt

参考链接:
http://cn.voidcc.com/question/p-nubaaxiu-bgp.html

原文地址:https://www.cnblogs.com/wodekaifalog/p/13625379.html