Send email from any address - PHP Mail Spoofer

Paul H.

Power member.
Reputation
0
Use this for educational/prank purposes only, children. I do not authorize usage for hacking or SE'ing. Not that I will be able to tell.

This allows you to send emails from pretty much any email address you want. Note that the server it is sent from will still be in the mail headers so the email still can be traced to the person you send it to is smart enough.

GH repo:
https://github.com/PenguinPaul/php-mail-spoofer
Downloadable ZIP:
https://github.com/PenguinPaul/php-mail-spoofer/archive/master.zip

The default password for the script is "mahnamahna".
 
Awkward Penguin said:
Surprised no one has tried this out.

I actually have already.
But, when I try to send the e-mail, I get a 404 error from my web-host. :-/
 
Sometimes it won't work because your host may have been blacklisted for spam by major email providers, or may not allow the php mail() function. If you want, I can send you an email from it to prove it works, just PM me your email address.
 
Nice release, Penguin. Thanks a bunch.
 
This is retarded, all you need to do is:

I made you a function so all you need to do is call it with your needed parameters.
Code:
function send_mail($from,$to,$subject,$body)
{
	$headers = '';
	$headers .= "From: $from\n";
	$headers .= "Reply-to: $from\n";
	$headers .= "Return-Path: $from\n";
	$headers .= "Message-ID: <" . md5(uniqid(time())) . "@" . $_SERVER['SERVER_NAME'] . ">\n";
	$headers .= "MIME-Version: 1.0\n";
	$headers .= "Date: " . date('r', time()) . "\n";

	mail($to,$subject,$body,$headers);
}
Code:
//Now just call the function
send_mail('[email protected]','[email protected]','Your subject','Email body');
 
Thanks for the information dude, I didn't know that! Wow! You're so smart and HQ! It's not like I made an easy to use interface or anything! Woah! GTFO.
 
Awkward Penguin said:
Thanks for the information dude, I didn't know that! Wow! You're so smart and HQ! It's not like I made an easy to use interface or anything! Woah! GTFO.

Yeah I agree with you, IKornrai, Stay the fuck of these threads you annoying
*****
 
Swаg said:
Yeah I agree with you, IKornrai, Stay the fuck of these threads you annoying
*****

How am I annoying because I shortened up his code by about how many fucking lines? and got right to the point and heart of the function. And made it so you didn't need to download / save scripts. Lmfao.
 
Make your own thread then if you're so concerned. I made an easy to use interface for people who don't want to edit a file every time they want to send a spoofed email.
 
Awkward Penguin said:
Make your own thread then if you're so concerned. I made an easy to use interface for people who don't want to edit a file every time they want to send a spoofed email.

No one will ever learn to code them self's like this man. They will just copy / paste then call it there work. So why not just provide the function of it then they can figure out how to use POST or even GET.
 
iKonroi said:
No one will ever learn to code them self's like this man. They will just copy / paste then call it there work. So why not just provide the function of it then they can figure out how to use POST or even GET.

I learned by reverse engineering other people's code. And, this wasn't necessarily for teaching people so much as to provide a script people can easily use.
 
Back
Top