masscan扫描结果为 1.xml
格式为- <?xml version="1.0"?>
- <!-- masscan v1.0 scan -->
- <?xml-stylesheet href="" type="text/xsl"?>
- <nmaprun scanner="masscan" start="1650538456" version="1.0-BETA" xmloutputversion="1.03">
- <scaninfo type="syn" protocol="tcp" />
- <host endtime="1650538456"><address addr="27.50.161.24" addrtype="ipv4"/><ports><port protocol="tcp" portid="80"><state state="open" reason="syn-ack" reason_ttl="53"/></port></ports></host>
- <host endtime="1650538456"><address addr="27.50.161.34" addrtype="ipv4"/><ports><port protocol="tcp" portid="80"><state state="open" reason="syn-ack" reason_ttl="117"/></port></ports></host>
- <host endtime="1650538456"><address addr="27.50.161.21" addrtype="ipv4"/><ports><port protocol="tcp" portid="80"><state state="open" reason="syn-ack" reason_ttl="117"/></port></ports></host>
- <host endtime="1650538456"><address addr="27.50.161.31" addrtype="ipv4"/><ports><port protocol="tcp" portid="80"><state state="open" reason="syn-ack" reason_ttl="117"/></port></ports></host>
- <host endtime="1650538456"><address addr="27.50.161.30" addrtype="ipv4"/><ports><port protocol="tcp" portid="80"><state state="open" reason="syn-ack" reason_ttl="117"/></port></ports></host>
- <host endtime="1650538456"><address addr="27.50.161.29" addrtype="ipv4"/><ports><port protocol="tcp" portid="80"><state state="open" reason="syn-ack" reason_ttl="117"/></port></ports></host>
- <runstats>
- <finished time="1650538467" timestr="2022-04-21 18:54:27" elapsed="11" />
- <hosts up="6" down="0" total="6" />
- </runstats>
- </nmaprun>
复制代码 想保存为 1.txt 格式如下
27.50.75.89:80
27.50.68.164:80
27.50.21.153:8080
这样的格式 求教 先谢 |