nmap 扫描输出格式 IP:端口 txt

nmap 扫描输出格式  IP:端口 txt
nmap -vv -p 80,4848,7001,7002,7071,8000,8001,8002,8080,8081,8888,9999,9043,9080 127.0.0.1/24 | grep "Discovered open port" | awk {'print $6":"$4'} | awk -F/ {'print $1'} > output.txt   nmap -vv -iL yuming.txt /24  | grep "Discovered open port" | awk {'print $6":"$4'} | awk -F/ {'print $1'} > output.txt 第一awk选择“IP地址”和“端口号、协...