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
the function "nmap3.Nmap().nmap_version_detection()" seems that it has a problem #29
Comments
Okay thanks for reporting we shall investigate and fix it immediately. |
It seems you are calling the wrong way
That is how you all nmap_version_detection to detect versions on hosts. |
the function 【nmap.nmap_version()】can work properly, but【nmap.nmap_version_detection("my-host.com")】still get wrong. I have tried to change the args from "my-host.com" to "www.my-host.com" even the ipv4 address. They got the same wrong 【'service_version_dict' is not defined"】 By the way, I define the path of 【namp.exe】 and the code is 【nmap = nmap3.Nmap(path=‘my-nmap_exe-path’)】rather than 【nmap=namp3.Nmap()】because my operating system can not find the namp.exe automatically Is it the problem of my OS?Because I understand that some code programmed at Linux will yield wrong at Win. The detailed traceback of the information is listed below: Process finished with exit code 1 |
Alright, let me look into it again. |
This was a bug, but now it has been fixed. You can update the local installation from git we have not pushed the changes to pypi pip3 install git+https://github.com/wangoloj/python3-nmap.git |
thanks for your effort ! :) |
in nmap3\nmapparser.py the function "version_detection()" has not defined the variable "service_version_dict". when I used the "nmap3.Nmap().nmap_version_detection()" to call the "version_detection()", it raised "NameError: name 'service_version_dict' is not defined".
ps: I programmed my code at Win10 OS
The text was updated successfully, but these errors were encountered: