Skip to content

haleemyousef/FacebookPhisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FacebookPhisher

Hard-to-detect facebook clone webpage that stores victim credentials in either a file or a database. I recommend the first option for the time being due to security-related concerns as it is still in the testing phase.

Installation:

config.php is to be edited to suit your needs before you upload the program to the server of your choice. (For 'fopen' option): Make sure the user of the web server has edit permissions over the file where the credentials are stored 'REPLACE_ME.html by default'.

Features:

  • One-time access using a session that redirects the victim to the genuine Facebook login page after credentials are obtained to minimize suspicion.
  • Cannot be re-accessed using the Go back button on the browser.
  • Double-line protection against submitting empty strings using both Javascript and PHP.
  • If the fopen option was chosen in configuration, the obtained username|password combinations can be securely accessed through any browser.
  • Proof against malicious scripts being submitted as credentials.

Security Measures:

  • If you're using the 'fopen' option in the configuration file, turn off directory listing in your web server so the credentials file cannot be accessed by unauthorised users.
  • If you're using the 'mysql' option in the configuration file, make sure your database is secured with a strong password and, preferably, with two-way authentication.

Contributing:

All contributions are welcomed and appreciated.

TODO:

  • More informations is to be logged about victims, such as IP address, MAC address, and operating system.
  • To be tested against tools like VEGA and SQLMAP.
  • mysqli_real_escape_string to be replaced with a more secure PDO driver.
  • Add more mediums of storing data, such as CSV files and SQLite databases.

Support:

Disclaimer:

The use of the software is done at your own discretion and risk and with agreement that you will be solely responsible for any damage to your computer system or loss of data that results from such activities. You are solely responsible for adequate protection and backup of the data and equipment used in connection with any of the software, and we will not be liable for any damages that you may suffer in connection with using, modifying or distributing any of this software. No advice or information, whether oral or written, obtained by you from us or from this website shall create any warranty for the software.