{"id":1392,"date":"2013-06-10T21:50:46","date_gmt":"2013-06-11T02:50:46","guid":{"rendered":"http:\/\/patrioticfederalist.com\/wp\/?p=1392"},"modified":"2013-06-10T22:57:14","modified_gmt":"2013-06-11T03:57:14","slug":"email-spoof-for-fun-only","status":"publish","type":"post","link":"http:\/\/patrioticfederalist.com\/wp\/?p=1392","title":{"rendered":"Email Spoof For Fun Only"},"content":{"rendered":"<h1 style=\"text-align: center;\">PHP \/ HTML script<\/h1>\n<p>This method is easy to use if you have your own hosting space (ie you have a website).\u00a0 This works on a few hosting sites I tested.\u00a0 Thanks to <a title=\"sethioz\" href=\"http:\/\/sethioz.com\" target=\"_blank\">Sethioz<\/a> for some of the code.<\/p>\n<p>This basically sets up a form where you enter the fake email address, subject, and who you want to send it to.\u00a0 The form then uses a script to actually send it.<\/p>\n<p><strong>NOTE: SMTP and PHP have to be supported.<\/strong><\/p>\n<p>These should be in the same folder.\u00a0 Create a folder in your server.\u00a0 Many sites use cPanel.\u00a0 If so you\u00a0 can go to the file manager and create new folder.\u00a0 Now create two new files:<\/p>\n<p>Name one index.html and the other spoof.php<\/p>\n<hr align=\"left\" noshade=\"noshade\" size=\"4\" width=\"60%\" \/>\n<p>put this code in index.html:<\/p>\n<pre><em> &lt;form action=\"spoofer.php\" method=\"GET\"&gt;\r\n &lt;p&gt;To Email: &lt;input type=\"text\" name=\"email\" \/&gt;&lt;\/p&gt;\r\n &lt;p&gt;Subject: &lt;input type=\"text\" name=\"header\" \/&gt;&lt;\/p&gt;\r\n &lt;p&gt;From Email: &lt;input type=\"text\" name=\"fake\" \/&gt;&lt;\/p&gt;\r\n &lt;p&gt;Email Message: &lt;textarea name=\"message\"&gt;&lt;\/textarea&gt;&lt;\/p&gt;\r\n &lt;p&gt;&lt;input type=\"submit\" value=\"Send Email\"&gt;&lt;\/p&gt;\r\n &lt;\/form&gt;\r\n\r\n<\/em><\/pre>\n<hr align=\"left\" noshade=\"noshade\" size=\"4\" width=\"60%\" \/>\n<p>&nbsp;<\/p>\n<pre><em><\/em>Save it and put this code inside spoofer.php:<\/pre>\n<pre><em>&lt;?php\r\n if (!isset($_GET[email]) || empty($_GET[email]))\r\n {\r\n echo \"TO field is empty\";\r\n exit;\r\n }\r\n else\r\n {\r\n $to = $_GET[email];\r\n }\r\n if (!isset($_GET[header]) || empty($_GET[header]))\r\n {\r\n echo \"Subject is missing\";\r\n exit;\r\n }\r\n else\r\n {\r\n $subject = $_GET[header];\r\n }\r\n if (!isset($_GET[fake]) || empty($_GET[fake]))\r\n {\r\n echo \"FROM email address is missing\";\r\n exit;\r\n }\r\n else\r\n {\r\n $fake = $_GET[fake];\r\n }\r\n if (!isset($_GET[message]) || empty($_GET[message]))\r\n {\r\n echo \"email message box is empty\";\r\n exit;\r\n }\r\n else\r\n {\r\n $message = $_GET[message];\r\n }\r\n $headers = \"MIME-Version: 1.0\" . \"\\r\\n\";\r\n $headers .= \"Content-type:text\/html;charset=iso-8859-1\" . \"\\r\\n\";\r\n $headers .= \"From: \" . $fake . \" &lt;\" . $fake . \"&gt;\" . \"\\r\\n\";\r\n if (mail($to, $subject, $message, $headers))\r\n {\r\n echo\"&lt;h1&gt;Success&lt;\/h1&gt;\\n\";\r\n echo\"&lt;p&gt;The e-mail was successfully sent to &lt;i&gt;\" . $to . \"&lt;\/i&gt;&lt;\/p&gt;\\n\";\r\n echo\"&lt;p&gt;From: &lt;i&gt;\" . $fake . \"&lt;\/i&gt;&lt;\/p&gt;\\n\";\r\n echo\"&lt;p&gt;Subject: &lt;i&gt;\" . $subject . \"&lt;\/i&gt;&lt;\/p&gt;\\n\";\r\n echo\"&lt;p&gt;Message:&lt;\/p&gt;\\n\";\r\n echo\"&lt;p&gt;&lt;b&gt;\" . $message . \"&lt;\/b&gt;&lt;\/p&gt;\";\r\n }\r\n else\r\n {\r\n echo\"&lt;h1&gt;Error!&lt;\/h1&gt;\\n\";\r\n echo\"&lt;p&gt;The mail() function failed.&lt;\/p&gt;\";\r\n }\r\n ?&gt;\r\n\r\n<\/em><\/pre>\n<hr align=\"left\" noshade=\"noshade\" size=\"4\" width=\"60%\" \/>\n<p><a href=\"http:\/\/patrioticfederalist.com\/wp\/wp-content\/uploads\/2013\/06\/Capture.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1401\" alt=\"Capture\" src=\"http:\/\/patrioticfederalist.com\/wp\/wp-content\/uploads\/2013\/06\/Capture-300x247.jpg\" width=\"417\" height=\"343\" srcset=\"http:\/\/patrioticfederalist.com\/wp\/wp-content\/uploads\/2013\/06\/Capture-300x247.jpg 300w, http:\/\/patrioticfederalist.com\/wp\/wp-content\/uploads\/2013\/06\/Capture.jpg 306w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/a><\/p>\n<p><em><\/em>Now save that and go to your site where you created the folder. For example, www.mysite.com\/spoofedemail\/ You should see the form pop up. Now test it on your address. Please note, your real address will show up in the header and anyone with more than cursory computer knowledge will know how to see that. <em> <\/em><\/p>\n<p><a href=\"http:\/\/patrioticfederalist.com\/wp\/wp-content\/uploads\/2013\/06\/Capture2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1402\" alt=\"Capture2\" src=\"http:\/\/patrioticfederalist.com\/wp\/wp-content\/uploads\/2013\/06\/Capture2-300x122.jpg\" width=\"621\" height=\"252\" srcset=\"http:\/\/patrioticfederalist.com\/wp\/wp-content\/uploads\/2013\/06\/Capture2-300x122.jpg 300w, http:\/\/patrioticfederalist.com\/wp\/wp-content\/uploads\/2013\/06\/Capture2-500x204.jpg 500w, http:\/\/patrioticfederalist.com\/wp\/wp-content\/uploads\/2013\/06\/Capture2.jpg 573w\" sizes=\"auto, (max-width: 621px) 100vw, 621px\" \/><\/a><\/p>\n<p><strong>Final Note: use at your own risk. This site nor anyone else is responsible for anything stupid you do with this script.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP \/ HTML script This method is easy to use if you have your own hosting space (ie you have a website).\u00a0 This works on a few hosting sites I tested.\u00a0 Thanks to Sethioz for some of the code. This basically sets up a form where you enter the fake email address, subject, and who &#8230; <a title=\"Email Spoof For Fun Only\" class=\"read-more\" href=\"http:\/\/patrioticfederalist.com\/wp\/?p=1392\" aria-label=\"Read more about Email Spoof For Fun Only\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[489,491,490],"class_list":["post-1392","post","type-post","status-publish","format-standard","hentry","category-computers-technology","tag-email-spoof","tag-fake-email","tag-fun-spoof"],"_links":{"self":[{"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1392"}],"version-history":[{"count":11,"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1392\/revisions"}],"predecessor-version":[{"id":1406,"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1392\/revisions\/1406"}],"wp:attachment":[{"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1392"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}