13o-bbr-bbq / machine_learning_security

Source code about machine learning and security.
1.98k stars 657 forks source link

No ports found in host that has opened ports #70

Open surfinerd opened 3 years ago

surfinerd commented 3 years ago

Don't know if this is a expected behavior

During the nmap scan it found some ports opened but the script finished with the following message:

[*] End time : ...snip.. [+] Get port list from nmap_result_XXXXXX.xml. [!] No open port. [!] Shutdown Deep Exploit...

I verified in the xml file and there are 3 opened ports.

4ooooo commented 10 months ago

我也是这个问题。我修改了get_port_list函数里读取结果的方式,从命令行cat方式读取改为从文件中读取 with open(path + nmap_result_file, 'r', encoding='utf-8') as f: nmap_result = f.read() f.close() 这样可以,后面的bug还没de完。暂时没有出现问题。仅供参考