SHARE
TWEET

Untitled

a guest Jul 4th, 2019 12 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import threading
  2. from fake_headers import Headers
  3.  
  4. def send_code(z):
  5.  
  6.     try:
  7.         captcha = captcha_use()
  8.         proxies = {
  9.         'http' : ez(),
  10.         'https': ez()
  11.         }
  12.  
  13.         url = "https://google.com/"
  14.         data = {
  15.             'parameter': str(z),
  16.         }
  17.  
  18.         headers = Headers(headers=True).generate()
  19.  
  20.         r = requests.post(url, data=data,proxies=proxies,headers=headers)
  21.  
  22.  
  23.  
  24.        for i in range(25):
  25.                     x = threading.Thread(target=send_code, args=(y))
  26.                     x.start()
  27.  
  28.                 # do whatever while 25 threads run
  29.  
  30.                 # wait for 25 threads to finish
  31.                     for i in range(25):
  32.                         x.join()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top