-
Notifications
You must be signed in to change notification settings - Fork 59
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
masscan.masscan.NetworkConnectionError: network is unreachable. part deux #29
Comments
Ok, I think I get the -oX - thing. You take the XML output and run it through def analyse_masscan_xml_scan which then turns it into a dictionary. Any reason why you do that rather than use -oJ? |
hi, @sirmodok
similar to #27 |
I use multiprocessing in python to invoke masscan and also find "masscan.masscan.NetworkConnectionError: network is unreachable. " exception, I don't know how to fix it. |
@csskysea |
@MyKings of course I can access the target network, because it's no problem using single process. |
Post a screenshot and operating environment description. |
I encountered a similar error. The reason that you can't connect, seems to be you don't have permission to do so. Try giving sudo=True.
In my case it worked. |
The problem I've noticed is
will spit out "network is unreachable" if the xml list is empty, even though the network is reachable - the ports I've looked for just aren't open. Great module though, I'm still playing with it :). Keep up the good work. |
Still encountering this issue in version 1.3.2 with -oG, -oJ and -oX |
Still masscan.masscan.NetworkConnectionError: network is unreachable. |
I believe the error of "Network is Unreachable" should really read "No ports found" and is just a simple typo. |
When I add some output options to the scan to store the output into an XML file, the scan happens, and the file is created, but I get the output "masscan.masscan.NetworkConnectionError: network is unreachable."
Details:
Additionally I see you pass the arguments '-oX -' which should output in XML format, but the format comes out in JSON. I don't understand why.
The text was updated successfully, but these errors were encountered: