Skip to content

Instantly share code, notes, and snippets.

@sdoro
Last active August 29, 2015 14:07
Show Gist options
  • Save sdoro/b3dd89e874fcddf23f54 to your computer and use it in GitHub Desktop.
Save sdoro/b3dd89e874fcddf23f54 to your computer and use it in GitHub Desktop.
masscan with banners
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