Posted by Blogger Name. Category:
Trick And Tips
PS: python must be installed, kalian boleh recoded tool ini tp tidak dengan merubah codernya..! :)link: http://pastebin.com/i3tMnYPPGreetz : jocker~maniac, Flazer n all K|C|H
#!/usr/bin/env python#Coder By : jimmyromanticdevil#Tools : For defense from syn & Ping Flood attack#You Must Being a Root before You Execute The codeimport threading,sys,time,base64from time import sleepimport subprocess__author__='amltbXlyb21hbnRpY2Rldmls'__email__ ='PHJvbWFudGljZGV2aWwuamltbXlAZ21haWwuY29tPg=='__blog__ ='aHR0cDovL2ppbW15cm9tYW50aWNkZXZpbC53b3JkcHJlc3MuY29t'def tayping(title): try: for i in title: print "\b%s"%i, sys.stdout.flush() time.sleep(0.005) except ImportError: print "Some Error",def title(): __Auth__= base64.b64decode(__author__) __Eml__ = base64.b64decode(__email__) _blog_ = base64.b64decode(__blog__) Title =""" _______________________________________________________////////////////////////////////////////////////////////||----------------------------------------------------||/|||Coder by %s ||/|||Tools : Defense From syn & ping Flood attack ||/||| ||/|||Contach : %s ||/|||Home page :%s ||/||| ||/|||<!>you must be a root<!> ||/|||___________________________________________________||/ |||----------------------------------------------------|/ '''''''''''''''''''''''''''''''''''''''''''''''''''''''"""%(__Auth__,__Eml__,_blog_) tayping(Title) class output_command(threading.Thread): def __init__(self, command): threading.Thread.__init__(self) self.command = command def run(self): subprocess.call((self.command), shell=True) print"[!]Youre system was Defense,\nfrom syn & flood attack\n"class input_command: def __init__(self): print "[<>]Enter the fucking shit attacker host[<>]" attacker_host = raw_input('[Host-attakcer] : ') Block_syn = "iptables -N %s"%attacker_host Block_syn2 = "iptables -A INPUT -p tcp --syn -j %s"%attacker_host Block_syn3 = "iptables -A %s -m limit --limit 1/s --limit-burst 3 -j ACCEPT"%attacker_host block_syn4 = "iptables -A %s -j DROP"%attacker_host bloc_icmp = "iptables -A INPUT -p icmp -j %s"%attacker_host block_icmp = "iptables -A %s -m limit --limit 1/s --limit-burst 2 -j ACCEPT"%attacker_host Procces = ["iptables -F","iptables -X","iptables -P INPUT ACCEPT","iptables -P OUTPUT ACCEPT","iptables -P FORWARD ACCEPT",Block_syn,Block_syn2,Block_syn3,block_syn4,bloc_icmp,] for x in Procces: try: i=output_command(x) i.start() except: pass if __name__ == "__main__": title() objCaller = input_command()
