shell-script(四) range-scan.sh

上一篇

修改shell script,目的是扫描过程显得更专业、美观;并且添加一个不扫描的IP列表(例如我们已经获得root的IP列表)

参考资料:github “onetwopunch.sh”


range-scan.sh脚本源代码下载地址:
https://raw.githubusercontent.com/Whale3070/ctf-coding/master/range-scan.sh

shell script’s function

1
2
3
4
5
function banner {
echo " "
}

banner

unscan-ip range

python clear-ip.py #del the ip which not want scan
在上述脚本中,添加了一行,调用python脚本clear-ip.py

下载地址如下:
https://raw.githubusercontent.com/Whale3070/ctf-coding/master/clear-ip.py