Jump to content
xisto Community
Sign in to follow this  
gladiator_us

Anonymous Mailer Script In Php

Recommended Posts

Hello friend its me Haseeb. Now i have a script of Anonymous Mailer. Anonymous mailer is that script through which you can send e-mail from and e-mail address or it can be any invalid e-mail address also but the friends e-mail should me valid this script consist of two pages php and html. Now the html page name as form, scripts began

 

Html file:

<html>
<head>
<!-- put your head contents here --!>
</head>
<body>
<form name="form1" action="sendmail.php" method="post">
From mail:<br>
<input name="frommail" type="text" size="30"><br>
From name:<br>
<input name="fromname" type="text" size="30"><br>
To mail:<br>
<input name="tomail" typ="text" size="30"><br>
Subject:<br>
<input name="subjectmail" type="text" size="30"><br>
Message:<br>
<textarea name="msgmail"></textarea><br>
<input type="submit" name="submit" value="send mail">
</form>
</body>
</html>

 

And the second script of this Anonymous Mailer is php and it begans from now

 

Php file 'sendmail.php' :

<?PHP
$to = $_POST["tomail"];	
$fromm = $_PORT["frommail"];
$fromn = $_POST["fromname"];
$subject = $_POST["subjectmail"];
$msg = $_POST["msgmail"];

if ($to == ""){
print "You have to state who the mail is from";
}
if ($from == ""){
print "You have to state from who the mail is from";
}
if ($subject == ""){
print "You have to state a subject for the mail";
}
if ($msg == ""){
print "You have to state a message for the mail";
}
else{
@mail($to, $subject, $msg, "From: ".$fromn." <".$fromm.">\r\n");
print "your mail has been stealthed to $to";
}
?>

 

copy above this and made two pages named form of the first script "html" and name for second script is "sendmail.php" for the second secont script. Upload both files to your server and ENJOY!

 

Regards,

Haseeb

Edited by microscopic^earthling (see edit history)

Share this post


Link to post
Share on other sites

And hope that the PHP function "mail()" hasn't been disabled for security reasons :)

Share this post


Link to post
Share on other sites

And hope that the PHP function "mail()" hasn't been disabled for security reasons :)

<{POST_SNAPBACK}>


and if the PHP mail mail() function HAS been dissabled... then you get the chance to show off and get all Zero cool Crash OverRide Acid Burn on their asses :P

 

everyones faveorite networking tool, telnet.

 

telnet will connect to any tcp port on any plain text service (like smpt :))

telnet sends all your keystrokes straight to the server, and echo's all the servers responces to the console.

 

so.. here is how to send anonymous email with telnet.

 

you sendopen smtp_server 25expect to recieve :Trying ???.???.???.???...Connected to ????????.Escape character is '^]'.220 ???????? ESMTP Sendmail ?version-number?; ?date+time+gmtoffset?you sendHELO your_ip_addressexpect to recieve250 ??????? Hello local.domain.name [an_ip], pleased to meet youyou sendMAIL FROM: From@email.addressexpect to recieve250 2.1.0 ??????????... Sender okyou sendRCPT TO: To@email.addressexpect to recieve250 2.1.0 ????????????... Recipient okyou sendDATASubject:-The Subject-The email bodyas many lines as you likethe end of the email body is given by a single '.' on a lline all by itselfalso, note that there has to be a blank line after the subject line..expect to recieve 250 2.0.0 ???????? Message accepted for deliveryyou sendQUIT

ofcourse you will have to write this into a gci script.

Share this post


Link to post
Share on other sites

mmmmm telnet..

Share this post


Link to post
Share on other sites

mmmmm telnet..

<{POST_SNAPBACK}>


Lol... so mr Admin... what was that rule about posts having to have more than 25 words, and 3 lines :) ?

but yeah... telnet rocks !

 

did you ever see that telne star wars film ???

i cant remember the URL, but its a telnet server, when you connect, it plays the ENTIRE star wars film in ASCII ART !!!!!

Share this post


Link to post
Share on other sites

Lol... so mr Admin... what was that rule about posts having to have more than 25 words, and 3 lines :) ?

Removed them a few days ago :)

 

did you ever see that telne star wars film ???

i cant remember the URL, but its a telnet server, when you connect, it plays the ENTIRE star wars film in ASCII ART !!!!!

<{POST_SNAPBACK}>

Like the mplayer Ascii Art module? Sounds great :P

Share this post


Link to post
Share on other sites

Like the mplayer Ascii Art module? Sounds great :)

<{POST_SNAPBACK}>


no its hand written ascii art. but still worth a look.

 

but the aalib is great...

there's nothing quite like watching a DVD or playing Quake in ascii art.

 

i would love to see KDE running on a super high resolution framebuffer ascii art :) !

Share this post


Link to post
Share on other sites

It is better not to add email address on your web page, some robot can just grab it and start spamming your email with  loads of rubbish.

 

Try the following (modified):-

 

Html file:

<html>
<head>
<!-- put your head contents here --!>
</head>
<body>
<form name="form1" action="sendmail.php" method="post">
Sender email:<br>
<input name="frommail" type="text" size="30"><br>
Sender name:<br>
<input name="fromname" type="text" size="30"><br>
Subject:<br>
<input name="subjectmail" type="text" size="30"><br>
Message:<br>
<textarea name="msgmail"></textarea><br>
<input type="submit" name="submit" value="send mail">
</form>
</body>
</html>

 

And the second script of this Anonymous Mailer is php and it begans from now

 

Php file 'sendmail.php' :

<?PHP
$to = "yourname@domain.com";	
$fromm = $_PORT["frommail"];
$fromn = $_POST["fromname"];
$subject = $_POST["subjectmail"];
$msg = $_POST["msgmail"];

if ($from == ""){
print "Your Email is required to send this form. Please click "Back" on your browser to include your email address.";
}
if ($subject == ""){
print "Subject of your message is required. Please click "Back" on your browser to fill in the subject.";
}
if ($msg == ""){
print "You have not type in your message. Please click "Back" on your browser to type in your message in the Message Box.";
}
else{
@mail($to, $subject, $msg, "From: ".$fromn." <".$fromm.">\r\n");
print "Your message had been sent.";
}
?>

Share this post


Link to post
Share on other sites

These scripts are cool, but how come they do not work on Xisto ??Has Xisto disabled mail() for security reasons ??The telnet stuff was fantastic. Only if anyone could post the URL to view the Star Wars movie..............Bye,Bigyan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.