Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No ports found in host that has opened ports #70

Open
surfinerd opened this issue Nov 12, 2021 · 1 comment
Open

No ports found in host that has opened ports #70

surfinerd opened this issue Nov 12, 2021 · 1 comment

Comments

@surfinerd
Copy link

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
Copy link

4ooooo commented Jan 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants