can someone explain to me ? Aug 18, 2017 11:42:15 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mert on Aug 18, 2017 11:42:15 GMT can someone give what to do and how to install this i am using debain 8 vps linuxwww.scriptcode.net/thread-39529-1-1.html
can someone explain to me ? Aug 26, 2017 2:03:49 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by zmd94 on Aug 26, 2017 2:03:49 GMT What that code do?
can someone explain to me ? Aug 26, 2017 7:31:23 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mert on Aug 26, 2017 7:31:23 GMT Aug 26, 2017 2:03:49 GMT zmd94 said:What that code do?ask $h@DoW
can someone explain to me ? Aug 26, 2017 12:47:30 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by $h@DoW on Aug 26, 2017 12:47:30 GMT lol just paste that code 1 by 1 in putty
can someone explain to me ? Aug 27, 2017 11:32:29 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mert on Aug 27, 2017 11:32:29 GMT Aug 26, 2017 12:47:30 GMT $h@DoW said:lol just paste that code 1 by 1 in puttyjust send me cmd here
can someone explain to me ? Aug 27, 2017 11:48:05 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by $h@DoW on Aug 27, 2017 11:48:05 GMT Aug 27, 2017 11:32:29 GMT Mert said:Aug 26, 2017 12:47:30 GMT $h@DoW said:lol just paste that code 1 by 1 in puttyjust send me cmd herejust copy and paste the code from that web
can someone explain to me ? Aug 27, 2017 12:56:35 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mert on Aug 27, 2017 12:56:35 GMT Aug 27, 2017 11:48:05 GMT $h@DoW said:Aug 27, 2017 11:32:29 GMT Mert said:just send me cmd herejust copy and paste the code from that webidk where is them because the stupid author of that topic he don't know how to make a TuTo so that's why i am asking what to do
can someone explain to me ? Aug 28, 2017 11:45:12 GMT via mobile Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by $h@DoW on Aug 28, 2017 11:45:12 GMT Aug 27, 2017 12:56:35 GMT Mert said:Aug 27, 2017 11:48:05 GMT $h@DoW said:just copy and paste the code from that webidk where is them because the stupid author of that topic he don't know how to make a TuTo so that's why i am asking what to do The Author is stupid but u can use your brain man It is written in front of your eyes
can someone explain to me ? Aug 28, 2017 11:48:08 GMT via mobile Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by $h@DoW on Aug 28, 2017 11:48:08 GMT Copy a code as follows:rom subprocess import Popen,PIPE import re import time import sqlite3 CONCURRENCY_ALLOWED = 30 OUTDATE_TIME = 86400 # initializing database db = sqlite3_connect("/tmp/ddos.db3") c = db_cursor() try: c.execute("create table ddos (ip text unique,date integer);") except: print "database exists" # blocking ips has more than CONCURRENCY_ALLOWED connections pipe = Popen("netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n > /tmp/ddos.txt",shell=True,bufsize=1024,stdout=PIPE).stdout #ddos = pipe.read() ddos = open("/tmp/ddos.txt").read() ct = re_compile(r"(\S +)\s +(\S +).*\n ").findall(ddos) for count,ip in ct: if int(count)>CONCURRENCY_ALLOWED and (ip != "127.0.0.1") and (not ip.startswith("192.168")): out = Popen("iptables -I INPUT -s %s -j DROP"%ip,shell=True,bufsize=1024,stdout=PIPE).stdout print "blocking %s for %s visits" % (ip,count) c.execute('replace into ddos values (,)',(ip,int(time.time()))) time.sleep(0.1) db_commit() # unblocking outdated blockings c.execute("select * from ddos") ddos = c.fetchall() for ip,date in ddos: if date + OUTDATE_TIME < time.time(): c.execute("delete from ddos where ip=",(ip,)) print "unblocking %s" % ip out = Popen("iptables -D INPUT -s %s -j DROP"%ip,shell=True,bufsize=1024,stdout=PIPE).stdout time.sleep(0.1) db_commit()