Tr3v0r

[PERL] Script Block TTLs g3m t50

Sep 27th, 2015
447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.56 KB | None | 0 0
  1. #!/usr/bin/perl
  2. ##############################################
  3. #Block ddos TTL T50 g3m                      #
  4. #Twitter: @MatheusTDashh                     #
  5. ##############################################
  6. print "Bloqueio De Algumas TTLs |g3m|T50 digite perl $0 block" \n";
  7. if ($ARGV[0] =~ "block" )
  8. {
  9. system("iptables -I INPUT -p icmp -i eth0 -m ttl --ttl-gt 160 -j DROP");
  10. system("iptables -I INPUT -p udp -i eth0 -m ttl --ttl-gt 160 -j DROP");
  11. system("iptables -I INPUT -p tcp -i eth0 -m ttl --ttl-gt 160 -j DROP");
  12. print "Terminou O Bloqueio.. [+]\n";
  13. }
Advertisement
Add Comment
Please, Sign In to add comment