forked from sarwanali1234/All-Gen-In-One-Gen-GiftCards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
341 lines (310 loc) · 12.4 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
#!/usr/bin/python3
import os
import random # pip install r-requirements.txt
from luhn import verify
import requests
import sys
import time
import string as strg
from colorama import init, Fore
import ctypes
headers = {'User-Agent': 'TikTok 17.4.0 rv:17yellow_to_red14 (iPhone; iOS 13.6.1; sv_SE) Cronet',
'Connection': 'keep-alive'
,},
timeout = 60
def issue():
os.system('cls')
print(Fore.LIGHTMAGENTA_EX + '''
▄████ ██▓ █████▒▄▄▄█████▓ ▄████▄ ▄▄▄ ██▀███ ▓█████▄ ██████
██▒ ▀█▒▓██▒▓██ ▒ ▓ ██▒ ▓▒▒██▀ ▀█ ▒████▄ ▓██ ▒ ██▒▒██▀ ██▌▒██ ▒
▒██░▄▄▄░▒██▒▒████ ░ ▒ ▓██░ ▒░▒▓█ ▄ ▒██ ▀█▄ ▓██ ░▄█ ▒░██ █▌░ ▓██▄
░▓█ ██▓░██░░▓█▒ ░ ░ ▓██▓ ░ ▒▓▓▄ ▄██▒░██▄▄▄▄██ ▒██▀▀█▄ ░▓█▄ ▌ ▒ ██▒
░▒▓███▀▒░██░░▒█░ ▒██▒ ░ ▒ ▓███▀ ░ ▓█ ▓██▒░██▓ ▒██▒░▒████▓ ▒██████▒▒
░▒ ▒ ░▓ ▒ ░ ▒ ░░ ░ ░▒ ▒ ░ ▒▒ ▓▒█░░ ▒▓ ░▒▓░ ▒▒▓ ▒ ▒ ▒▓▒ ▒ ░
░ ░ ▒ ░ ░ ░ ░ ▒ ▒ ▒▒ ░ ░▒ ░ ▒░ ░ ▒ ▒ ░ ░▒ ░ ░
░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ▒ ░░ ░ ░ ░ ░ ░ ░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░
░ ░
Made By Brizzzzzer2and#0071
-----------------------Welcome In The Gen Giftcards--------------------------
''')
print(Fore.RESET + 'Gen Room:\n',
Fore.GREEN + '\n[1]- PSN Card\n[2]- Playstore\n[3]- Roblox\n[4]- Amazon\n[5]' '- Netflix\n[6]-' ' xBox\n[7]- Itunes\n[8]- Nitro-Gen\n[9]- Tiktok\n[10]- Exit')
gen = input('Please enter a number :')
os.system('cls')
if gen == '1':
psn()
os.system('cls')
elif gen == '2':
playstore()
os.system('cls')
elif gen == '3':
roblox()
os.system('cls')
elif gen == '4':
amazon()
os.system('cls')
elif gen == '5':
netflix()
os.system('cls')
elif gen == '6':
xBox()
os.system('cls')
elif gen == '7':
Itunes()
os.system('cls')
elif gen == '8':
nitro_gen()
os.system('cls')
elif gen =='9':
tiktok()
os.system('cls')
elif gen =='10':
sys.exit()
else:
print('Enter a Valid Number !')
os.system('cls')
init(convert=True and False)
ctypes.windll.kernel32.SetConsoleTitleW('Gen Giftcard made by Brizzr')
ctr = print(Fore.LIGHTCYAN_EX + '''
▄▄▄▄ ██▀███ ██▓▒███████▒▒███████▒ ██▀███ ▄▄▄ ███▄ █ ▓█████▄
▓█████▄ ▓██ ▒ ██▒▓██▒▒ ▒ ▒ ▄▀░▒ ▒ ▒ ▄▀░▓██ ▒ ██▒▒████▄ ██ ▀█ █ ▒██▀ ██▌
▒██▒ ▄██▓██ ░▄█ ▒▒██▒░ ▒ ▄▀▒░ ░ ▒ ▄▀▒░ ▓██ ░▄█ ▒▒██ ▀█▄ ▓██ ▀█ ██▒░██ █▌
▒██░█▀ ▒██▀▀█▄ ░██░ ▄▀▒ ░ ▄▀▒ ░▒██▀▀█▄ ░██▄▄▄▄██ ▓██▒ ▐▌██▒░▓█▄ ▌
░▓█ ▀█▓░██▓ ▒██▒░██░▒███████▒▒███████▒░██▓ ▒██▒ ▓█ ▓██▒▒██░ ▓██░░▒████▓
░▒▓███▀▒░ ▒▓ ░▒▓░░▓ ░▒▒ ▓░▒░▒░▒▒ ▓░▒░▒░ ▒▓ ░▒▓░ ▒▒ ▓▒█░░ ▒░ ▒ ▒ ▒▒▓ ▒
▒░▒ ░ ░▒ ░ ▒░ ▒ ░░░▒ ▒ ░ ▒░░▒ ▒ ░ ▒ ░▒ ░ ▒░ ▒ ▒▒ ░░ ░░ ░ ▒░ ░ ▒ ▒
░ ░ ░░ ░ ▒ ░░ ░ ░ ░ ░░ ░ ░ ░ ░ ░░ ░ ░ ▒ ░ ░ ░ ░ ░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
░ ░ ░ ░
''')
time.sleep(0.9)
print(Fore.RED + 'Made by Brizzzzzer2and#0071')
time.sleep(0.8)
# debut
print(Fore.RED + 'Welcome In The Gen Giftcards !')
time.sleep(0.8)
character = strg.ascii_letters + strg.digits
# fonction
def main():
print(Fore.GREEN + '[1]- PSN Card\n''[2]- Playstore\n[3]- Roblox\n[4]-' '' ' Amazon\n[5]-'' Netflix\n[6]- xBox\n[7]- ' 'Itunes\n[8]- Nitro-Gen\n[9]- Tiktok Gen\n[10]- Exit')
gen = input('Please enter a number :')
os.system('cls')
if gen == '1':
psn()
elif gen == '2':
os.system('cls')
playstore()
elif gen == '3':
os.system('cls')
roblox()
elif gen == '4':
os.system('cls')
amazon()
elif gen == '5':
os.system('cls')
netflix()
elif gen == '6':
os.system('cls')
xBox()
elif gen == '7':
os.system('cls')
Itunes()
elif gen == '8':
os.system('cls')
nitro_gen()
elif gen =='9':
os.system('cls')
tiktok()
elif gen =='10':
sys.exit()
else:
print('Veuillez rentrer un numero correct !')
def psn():
amount = input('How many codes do you want to generate ? :')
amount = int(amount)
os.system('cls')
print('------------PSN CARD-------------\n')
try:
for gen_psn in range(amount):
psn_card = "".join(random.choices(character, k=12))
url_code_psn = "https://web.np.playstation.com/api/graphql/v1/transact/wallets/vouchers/" + psn_card
status = requests.get(url_code_psn)
if status.status_code == 403:
print(f'{Fore.GREEN} Valid |' + psn_card)
break
else:
print(f'{Fore.RED} Invalid |' f'{Fore.RESET} {psn_card} ')
except:
pass
print(Fore.WHITE + '\n ------Generating Completed------ !')
time.sleep(1)
os.system('cls')
time.sleep(2)
return issue()
def playstore():
amount = input('How many codes do you want to generate ? :')
amount = int(amount)
os.system('cls')
print('------------PLAYSTORE CARD-------------\n')
try:
for play_store in range(amount):
play_store = ''.join(random.choices(character, k=20))
time.sleep(0.1)
print(play_store)
except:
pass
time.sleep(0.4)
print(Fore.WHITE + '\n ------Generating Completed------ !')
time.sleep(1)
os.system('cls')
time.sleep(2)
return issue()
def roblox():
amount = input('How many codes do you want to generate ? :')
amount = int(amount)
os.system('cls')
print('------------ROBLOX CARD-------------\n')
try:
for roblox in range(amount):
roblox = ''.join(random.choices(strg.digits, k=10))
time.sleep(0.1)
print(roblox)
except:
pass
time.sleep(0.4)
print(Fore.WHITE + '\n ------Generating Completed------ !')
time.sleep(1)
os.system('cls')
time.sleep(2)
return issue()
def amazon():
amount =input('How many code do you want to gen ?:')
amount = int(amount)
os.system('cls')
print('------------AMAZON CARD-------------\n')
for amazo in range(amount):
amazo = ('').join(random.choices(strg.digits, k=8))
if amazo == verify:
print(f"{Fore.GREEN} Valid | "f'{Fore.RESET}{amazo}')
else:
print(f"{Fore.RED} Invalid |"f'{Fore.RESET}{amazo}')
time.sleep(1)
time.sleep(0.4)
print(Fore.WHITE + '\n ------Generating Completed------ !')
time.sleep(1)
os.system('cls')
time.sleep(2)
return issue()
def netflix():
amount = input('How many codes do you want to generate ? :')
amount = int(amount)
os.system('cls')
print('------------NETFLIX CARD-------------\n')
try:
for netf in range(amount):
netf = ''.join(random.choices(character, k=11))
time.sleep(0.1)
print(netf)
except:
pass
time.sleep(0.4)
print(Fore.WHITE + '\n ------Generating Completed------ !')
time.sleep(1)
os.system('cls')
time.sleep(2)
return issue()
def xBox():
amount = input('How many codes do you want to generate ? :')
amount = int(amount)
os.system('cls')
print('------------XBOX CARD-------------\n')
try:
for xbox in range(amount):
xbox = ''.join(random.choices(character, k=25))
xbox = xbox.upper()
time.sleep(0.1)
print(xbox)
except:
pass
time.sleep(0.4)
print(Fore.RESET + '\n ------Generating Completed------ !')
time.sleep(1)
os.system('cls')
time.sleep(2)
return issue()
def Itunes():
amount = input('How many codes do you want to generate ? :')
amount = int(amount)
os.system('cls')
print('------------ITUNES CARD-------------\n')
try:
for itunes in range(amount):
itunes = ''.join(random.choices(character, k=16))
itunes = itunes.upper()
time.sleep(0.1)
print(itunes)
except:
pass
time.sleep(0.4)
print(Fore.WHITE + '\n ------Generating Completed------ !')
time.sleep(1)
os.system('cls')
time.sleep(2)
return issue()
def nitro_gen():
amount = input('How many codes do you want to generate ? :')
amount = int(amount)
os.system('cls')
print('------------NITRO GEN-------------\n')
try:
for nitro in range(amount):
nitro = ''.join(random.choices(character, k=16)) #soon...With proxies
url = "https://discord.gift/" + nitro
chkr = requests.get(url)
if chkr.status_code == '200':
mdd= print(f'{Fore.GREEN} Valid |'F'{Fore.RESET}' + url)
break
else:
mda =print(f'{Fore.RED} Invalid |'f'{Fore.RESET}' + url)
with open('nitro.txt', 'a+') as file:
file.write(url)
file.write('\n')
file.close()
ctypes.windll.kernel32.SetConsoleTitleW('Valid |' + str(len(mdd)).append, 'Invalid | ' + str(len(mda)).append)
except:
pass
time.sleep(0.4)
print(Fore.WHITE + '\n ------Generating Completed------ !')
time.sleep(1)
os.system('cls')
time.sleep(2)
return issue()
def tiktok():
amount = input('How many account do you to generate ? :')
amount = int(amount)
os.system('cls')
print('------------TIKTOK ACCOUNT-------------\n')
try:
for tik in range(amount):
tik = ''.join(random.choices(character, k= 6))
url ="https://www.tiktok.com/@" +tik
tok = requests.Session()
check = tok.get(url, timeout =60)
chk = check.status_code
if chk ==404:
print(f'{Fore.GREEN} Valid |'f'{Fore.RESET}'+url)
elif chk == 429:
print(f'{Fore.YELLOW} Too Many Requests | 'f'{Fore.RESET}'+url)
else:
print(f'{Fore.RED} Invalid |'f'{Fore.RESET}' +url)
except:
pass
time.sleep(0.4)
print(Fore.WHITE + '\n ------Generating Completed------ !')
time.sleep(1)
os.system('cls')
time.sleep(2)
return issue()
if __name__ == '__main__':
main()