-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 does not return after completing a scan #144
Comments
looks like it is the scan on UDP/53 that's causing it. I haven't seen this happen on other services. This is what I ran:
I had to kill the program after 2183 seconds to return to the command prompt. |
I am also having this problem. masscan still sends packets but ignores all packets and doesn't print out any results anymore after some minutes/seconds depending on how fast I scan. |
Dude, Does any one Solved the above issue. i am also getting the same issue. can any one Suggests the LAN CARD Model and the OS required to Do the Quick scan. i am searching all over the internet But No Support on this issue. |
im also having this issue, i have tried from different machines and clean installs and still no go. has anyone figured it out? Example of issue: Starting masscan 1.0.3 (http://bit.ly/14GZzcT) at 2016-04-25 04:55:29 GMT |
I'm having the same issue |
Same problem here. |
the infinite-wait issue describe in GH robertdavidgraham#144
Maybe a little more insight - running with
when it should print
So the problem is the receive thread is never processing the stop signal for some reason. |
Same issue here, please fix... |
same issue with me |
Same here but with a VPN connection. Still not resolved after all those years or is there a solution somewhere? |
+1 Having this issue too! |
Same issue here:
Version is:
|
I had the same issue.But I solved by install libpcap-dev. |
@98587329 I tried this, but it did not work for me. |
This fixed the issue for me on Kali 2019:
|
@RickTorresJr For me, it worked after I installed the 1.0.6 from source. Previously, it was the same version as the one shown in your comment. |
Had the same issue happen again but on a different VM, same version as previously stated. Purging masscan and installing libpcap-dev did not resolve the issue this time. Installing from source did the trick. Thanks @aosti |
Same shit. |
I'm having the same issue with v1.0.5 |
same issue with v1.0.5 |
Just stopping by to state that i'm experiencing this issue. Even after adding --wait 15 or --wait 0 didnt work. What occurs then is the app just enter's a negative countdown state, like this:
installing libpcap-dev had no effect. |
Are yall by chance using --output-format ? Maybe --output-format grepable ? When I removed this - it seems to have fixed my issue. |
No. I used output to file option |
So this chain was extremely helpful to me, but the only suggestion here that seemed to work for me was the complete removal of masscan v1.0.5 from my kali instance and reinstalling from source. Once I did that (following all instructions, including installation of libpcap-dev), masscan has worked flawlessly for me since. |
I experience this issue when using a VPN interface, If I scan over a eth0 to my local network I don't have the same issue. masscan version is 1.3.2: sudo masscan -p139 10.10.10.27 -e tun0 --rate 500 --wait 5 Starting masscan 1.3.2 (http://bit.ly/14GZzcT) at 2021-02-06 18:24:24 GMT |
I'm also experiencing this in March 2021. Masscan countdown to negative infinity. Have to kill the process manually. I've tried building from source and installing
My machine's info:
|
An update: I tried installing pfring into my kernel to see if that would help. It didn't. I followed this guide and masscan successfully says that it's using pfring. I followed this guide for installing pfring on Kali. masscan never exits and just seems to count down towards negative infinity forever. I think this is related to scanning over a tunnel / VPN interface. I'm running this in a VirtualBox Kali instance with Windows 10 as the host OS. No issues when scanning my local network. Scans complete normally. Scanning through the openVPN tunnel (tun0) always results in this zombie process issue.
|
For anyone else that encounters this, I fixed it for me by using a Dockerized and older version of masscan (v1.0.6).
|
Thanks to @andyacer => Here the docker source => hub.docker.com adarnimrod/masscan |
Hack to workaround issue #144
I have seen at times masscan simply starts counting down (which appears forever) once the scan is completed:
(The 'waiting xxx-secs' part above.)
Normally it counts down to 10 seconds before showing the command prompt but at times it appears to keep counting down forever.
The text was updated successfully, but these errors were encountered: