案例三:写一个bash script,目的是扫描40台主机的全部端口,服务版本,生成以IP为目录的扫描结果。
扫描网段内在线主机
1 |
|
生成gnmap、nmap、xml类型扫描结果,查看后gnmap比较适合解析。
1 |
|
最终版本
https://raw.githubusercontent.com/Whale3070/ctf-coding/master/range-scan.sh
2019年7月,hackthebox改版,该脚本只能批量扫描在线靶机,不能扫描退休靶机了。
执行效果:
案例三:写一个bash script,目的是扫描40台主机的全部端口,服务版本,生成以IP为目录的扫描结果。
扫描网段内在线主机
1 |
|
生成gnmap、nmap、xml类型扫描结果,查看后gnmap比较适合解析。
1 |
|
https://raw.githubusercontent.com/Whale3070/ctf-coding/master/range-scan.sh
2019年7月,hackthebox改版,该脚本只能批量扫描在线靶机,不能扫描退休靶机了。
执行效果: