Saturday, 3 January 2015

Phishing Tutorial - 1 [EDUCATIONAL PURPOSE ONLY]

The following tutorial is based on local phishing where the target is made to login to facebook using attacker's PC or Laptop.

Requirements:
1. Desktop PC or Laptop.
2. Localhost server (xampp or wampp).
3. The Phishing Code.

Steps:
1. First you need to have a local server running on your computer. 
     -Download and install the latest version of xampp from here.

2. Phishing Code:
     -Download the code from

    -Extract the zip files and Paste into htdocs folder of xampp


3. Run the Code:
    -Start the xampp server by using the xampp control. It can be found in the xampp folder.

    -Click on Start button of Apache and MySql.
    -Now xampp is running on your machine. Now open your favorite web browser and enter "localhost/www.facebook.com". 
    -You should be able see the facebook login page.
    


   -The trick here is to make this as your browser home page so they won't easily notice the fake url.
   -Try to login using your account.
   -Once you hit submit the code will now save the username/email and password you enter to data.txt file and the page will redirect you to the real facebook page with error login attempt.




4. Check the contents of data.txt:
   -Open xampp/htdocs/www.facebook.com/data.txt and you will see this:data.txt




5. Make your Friend use your machine: 
   -Make your friend use your pc or laptop to access facebook and hope he will not notice the fake url.


Note: 
Phishing is illegal. Use this code for educational purpose only and at your own risk.

Source: http://codeian.blogspot.in/


No comments:

Post a Comment