Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- if ($_POST['Submit'] == 'Send email')
- {
- $to = $_POST['toemail'];
- $subject = $_POST['subject'];
- $message = $_POST['message'];
- $fromemail = $_POST['fromemail'];
- $fromname = $_POST['fromname'];
- $lt= '<';
- $gt= '>';
- $sp= ' ';
- $from= 'From:';
- $headers = $from.$fromname.$sp.$lt.$fromemail.$gt;
- mail($to,$subject,$message,$headers);
- header("Location: fucking_private_shit.php?msg=Email sent!");
- exit();
- }
- ?>
- <html>
- <head>
- <title>RetardMail - Private Email Exploit powered by NSA</title>
- </head>
- <body bgcolor="#ffffff">
- <br>
- <p style="margin-left:15px">
- <form action="fucking_private_shit.php" method="POST">
- <b>Sender name:</b><br>
- <input type="text" name="fromname" size="50"> NOT REAL<br>
- <br><b>Sender mail:</b><br>
- <input type="text" name="fromemail" size="50"> NOT REAL<br>
- <br><b>Target mail:</b><br>
- <input type="text" name="toemail" size="50"> If you want to send to more emails, separate the emails with ;<br>
- <br><b>Subject:</b><br>
- <input type="text" name="subject" size="74"><br>
- <br><b>Message:</b><br>
- <textarea name="message" rows="5" cols="50">
- </textarea><br>
- <input type="submit" name="Submit" value="Send email">
- <input type="reset" value="Reset">
- </form>
- </p>
- <?php if (isset($_GET['msg'])) { echo "<font color=\"red\"><h3 align=\"center\"> Message sent. </h3></font>"; } ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement