Last active
August 29, 2015 14:07
-
-
Save sdoro/b3dd89e874fcddf23f54 to your computer and use it in GitHub Desktop.
masscan with banners
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iptables -A INPUT -p tcp --dport 60000 -j DROP | |
masscan 10.0.0.0/8 -p80 --banners --source-port 60000 | |
# | |
# also before ... | |
iptables -N LOGGING | |
iptables -A LOGGING -m limit --limit 200/min -j LOG --log-prefix "SHELLSHOCK: " --log-level 7 | |
iptables -A LOGGING -j RETURN | |
iptables -A INPUT -s 10.0.0.0/8 -p icmp --icmp-type echo-request -j LOGGING |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment