Open zbuc opened 10 years ago
Did you try the iptables workaround ?
iptables -A INPUT -p tcp --dport 60000 -j DROP masscan 10.0.0.0/8 -p80 --banners --source-port 60000
I thought that workaround/firewall change was only needed when checking for banners, but I tried it anyways...
I'm on OS X so I ran
$ sudo ipfw add 1 deny tcp from any to any 60000 in
$ sudo ./masscan 192.168.123.0/24 -p0-65535 -oX scan.xml --max-rate 100000 --source-ip=192.168.123.181 --adapter=en0 --source-port 60000 --banners
still no results :(
Set your --max-rate to 1000 and it'll probably work
At a guess, your home switch/router can't handle the rate and is simply dropping them. With that rate, en0 will ship them out.
I was playing around with masscan against my local network and noticed that it kept saying "found: 0"... hm, I know there are boxes with SSH running, HTTP, etc. on this network...
I enabled debug mode and it looks like it's getting RST-ACK packets back but not correctly aggregating the results. Or I'm doing something wrong.
Config:
Invocation:
continues with execution and produces a 0-byte xml file.
Any ideas?