Skip to content
This repository was archived by the owner on Aug 3, 2021. It is now read-only.

Commit 917deb9

Browse files
author
Ziad Abouelfarah
committed
Hide the password when is wroten
1 parent 0404a57 commit 917deb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

osif.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
###################################################################
22
# Import Module
3-
import json , sys , hashlib , os , time , marshal
3+
import json , sys , hashlib , os , time , marshal, getpass
44
###################################################################
55
'''
66
Jangan Direcode ya bosku , tinggal make apa susahnya sih
@@ -172,7 +172,7 @@ def get(data):
172172
os.remove('cookie/token.log')
173173
main()
174174
def id():
175-
print '[*] login to your facebook account ';id = raw_input('[?] Username : ');pwd = raw_input('[?] Password : ');API_SECRET = '62f8ce9f74b12f84c123cc23437a4a32';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"};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.0'+API_SECRET
175+
print '[*] login to your facebook account ';id = raw_input('[?] Username : ');pwd = getpass.getpass('[?] Password : ');API_SECRET = '62f8ce9f74b12f84c123cc23437a4a32';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"};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.0'+API_SECRET
176176
x = hashlib.new('md5')
177177
x.update(sig)
178178

0 commit comments

Comments
 (0)