Thursday, 1 May 2014

How To Create Fake E-mail Sender

Hey there guys!!!

 Have you ever received an e-mail from katrina kaif saying she loves you or from your HOD saying you are detained ???

Well it doesn't matter if you have or have not cause today we would be learning how to create our own fake mail sender :D

What we have here is a HTML file and a PHP file. The PHP code allows you to send the e-mail and the HTML file serves as the user interface.

Step1: Open note pad and paste the following HTML code and save the file with name index.html.

<h1>Jugaadi's Fake Email Mail Sender</h1>

<table border=2>
<form action="nakli.php" method="post">
<tr><td>Recipent: </td><td><input type=text name=email size=30></td></tr>
<tr><td>Sender name: </td><td><input type=text name=name size=30></td></tr>
<tr><td>Sender Email Address: </td><td><input type=text name=sender size=30></td></tr>
<tr><td>Subject: </td><td><input type=text name=subject size=30></td></tr>
<tr><td>Content: </td><td><textarea rows=10 cols=30 name=content></textarea></td></tr>
<tr><td><input type=submit value="Send Mail"></td></tr>

Step2: Copy and paste this script in a notepad and save it as nakli.php

$email = $_POST['email'];
$content = nl2br($_POST['content']);
$name = $_POST['name'];
$sender = $_POST['sender'];
$subject = $_POST['subject'];
$headers = "From: $name "."<".$sender.">\r\n";
//add boundary string and mime type specification
//$headers .= 'MIME-Version: 1.0' . "\r\n";
//$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
//send the email
mail($email, $subject, $content, $headers );

Step3: Upload these file on a web hosting site
It is the last part of the scheme. There are dozens of free hosting websites available.
Upload these files in the file manager of any of those sites and you are good to go.

Please make sure the name and extensions of the file are same as mentioned.
In case of any error do contact me.

The webpage should look like this

And if you want to try out another way of sending fake mails do read my article on e-mail spoofing here 

To check if you have not recieved a fake e-mail address , kindly read my article on tracking e-mail addresses

Lastly all this is for educational purpose only ;)


Post a Comment

waddya think?