Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[TUT]Send a fake email from any domain (i.e spoof the sender address)[Code included!]

Here's a really simple script written in PHP (and should work on any host that supports PHP) that allows you to send an email to anyone from any domain (i.e. fake the sender address). The servers you use will determine the time it takes to reach the target user, and whether or not it ends up in spam.

PHP Code

<?php
$to
="enter target email address";
$subject="Enter subject";
$msg="Enter message. Use \n for line indentations.\n";
$msg.="This is the second line in the message.\n";
$msg.="This is the third line in the message";
$from="Enter the domain you want to impersonate e.g. [email protected]";
$header="From: ".$from; //ignore this
$r=mail($to,$subject,$msg,$header);
if (
$r==true) {
  echo 
"Mail successfully sent";
} else {
  echo 
"Delivery failed";
}
?>

I haven't debugged the code, but it should work. Note, this does not have a GUI, that's up to you to make. It can still be functional without a GUI, just that you have to edit the code every time you want to send another message.

If enough interest is shown, I can expand the tutorial and show how to make a mass spammer from this, and create a working example :D
omg thx and looking forward to ur mass mailer
No problem, I'll create it when I have time :P
old skool trick... but glad its still working... good share friend.... it will help many ... goodluck
Lol, I think everyone agrees this will be much more useful with a GUI interface and more options, including a mass bomber :D
I'll go create one then :)
OR YOU CAN GO TO http://emkei.cz/ and send it from there and even attach files. ENJOY GUYS!

FOLLOW ME @IAMJAYST0RM
Wow way to go to advertise your shit on my TUTORIAL thread. In case you haven't noticed, I made this open sourced so other members can develop their own application. LQP GTFO.
lmao really i was just sayin dont hate im not advertising my shit i get enough hits not to advertise on your wack ass tut. as to you "LQP GTFO" i say hi hater
code works method is very old skool and always comes up as spam in outlook does anyone know how to send a spoof so it dosent come up as spam in outlook
Thnax but how can i use it i mean.

i upload to Free web hosting and its not working =/
Mail successfully sent
but i dont get nothing


Possibly Related Threads...
Thread / Author Replies Views Last Post
by -Vector-Aug 15, 2025 01:43 AM 73 12,145 Aug 15, 2025 01:43 AM
Last Post: Noni224
by Elite_xApr 13, 2025 04:44 PM 4 571 Apr 13, 2025 04:44 PM
Last Post: SS2580G
by SIM-5355723Mar 13, 2025 09:54 AM 9 742 Mar 13, 2025 09:54 AM
Last Post: Sickedrat