text
stringlengths 1
93.6k
|
|---|
grab()
|
except IOError:
|
print '\x1b[1;91m[!] Error when creating file'
|
raw_input('\n\x1b[1;91m[ \x1b[1;97mBack \x1b[1;91m]')
|
grab()
|
except (KeyboardInterrupt, EOFError):
|
print '\x1b[1;91m[!] Stopped'
|
raw_input('\n\x1b[1;91m[ \x1b[1;97mBack \x1b[1;91m]')
|
grab()
|
except KeyError:
|
os.remove(simg)
|
print '\x1b[1;91m[!] Group not found'
|
raw_input('\n\x1b[1;91m[ \x1b[1;97mBack \x1b[1;91m]')
|
grab()
|
except requests.exceptions.ConnectionError:
|
print '\x1b[1;91m[\xe2\x9c\x96] No connection'
|
keluar()
|
def email():
|
os.system('clear')
|
try:
|
toket = open('login.txt', 'r').read()
|
except IOError:
|
print '\x1b[1;91m[!] Token not found'
|
os.system('rm -rf login.txt')
|
time.sleep(1)
|
login()
|
else:
|
try:
|
os.system('clear')
|
print logo
|
print 52 * '\x1b[1;97m\xe2\x95\x90'
|
mails = raw_input('\x1b[1;91m[+] \x1b[1;92mSave File \x1b[1;97mext(file.txt) \x1b[1;91m: \x1b[1;97m')
|
r = requests.get('https://graph.facebook.com/me/friends?access_token=' + toket)
|
a = json.loads(r.text)
|
mpsh = open(mails, 'w')
|
jalan('\x1b[1;91m[\xe2\x9c\xba] \x1b[1;92mPlease wait \x1b[1;97m...')
|
print 52 * '\x1b[1;97m\xe2\x95\x90'
|
for i in a['data']:
|
x = requests.get('https://graph.facebook.com/' + i['id'] + '?access_token=' + toket)
|
z = json.loads(x.text)
|
try:
|
em.append(z['email'])
|
mpsh.write(z['email'] + '\n')
|
print '\r\x1b[1;92mName\x1b[1;91m :\x1b[1;97m ' + z['name']
|
print '\x1b[1;92mEmail\x1b[1;91m : \x1b[1;97m' + z['email']
|
print 52 * '\x1b[1;97m\xe2\x95\x90'
|
except KeyError:
|
pass
|
print '\n\r\x1b[1;91m[+] \x1b[1;97mTotal Email\x1b[1;96m%s' % len(em)
|
print '\x1b[1;91m[+] \x1b[1;97mFile saved \x1b[1;91m: \x1b[1;97m' + mails
|
mpsh.close()
|
raw_input('\n\x1b[1;91m[ \x1b[1;97mBack \x1b[1;91m]')
|
grab()
|
except IOError:
|
print '\x1b[1;91m[!] Error when creating file'
|
raw_input('\n\x1b[1;91m[ \x1b[1;97mBack \x1b[1;91m]')
|
grab()
|
except (KeyboardInterrupt, EOFError):
|
print '\x1b[1;91m[!] Stopped'
|
raw_input('\n\x1b[1;91m[ \x1b[1;97mBack \x1b[1;91m]')
|
grab()
|
except KeyError:
|
os.remove(mails)
|
print '\x1b[1;91m[!] An error occurred'
|
raw_input('\n\x1b[1;91m[ \x1b[1;97mBack \x1b[1;91m]')
|
grab()
|
except requests.exceptions.ConnectionError:
|
print '\x1b[1;91m[\xe2\x9c\x96] No connection'
|
keluar()
|
def emailfrom_friends():
|
os.system('clear')
|
try:
|
toket = open('login.txt', 'r').read()
|
except IOError:
|
print '\x1b[1;91m[!] Token not found'
|
os.system('rm -rf login.txt')
|
time.sleep(1)
|
login()
|
else:
|
try:
|
os.system('clear')
|
print logo
|
print 52 * '\x1b[1;97m\xe2\x95\x90'
|
idt = raw_input('\x1b[1;91m[+] \x1b[1;92mInput ID Friends \x1b[1;91m: \x1b[1;97m')
|
try:
|
jok = requests.get('https://graph.facebook.com/' + idt + '?access_token=' + toket)
|
op = json.loads(jok.text)
|
print '\x1b[1;91m[\x1b[1;96m\xe2\x9c\x93\x1b[1;91m] \x1b[1;92mFrom\x1b[1;91m :\x1b[1;97m ' + op['name']
|
except KeyError:
|
print '\x1b[1;91m[!] Not be friends'
|
raw_input('\n\x1b[1;91m[ \x1b[1;97mBack \x1b[1;91m]')
|
grab()
|
mails = raw_input('\x1b[1;91m[+] \x1b[1;92mSave File \x1b[1;97mext(file.txt) \x1b[1;91m: \x1b[1;97m')
|
r = requests.get('https://graph.facebook.com/' + idt + '/friends?access_token=' + toket)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.