Kamis, 08 Maret 2012

PhpMyAdmin finder

i tae this script from ABH forum....


<html> 
<title>PhpMyAdmin Finder by TraX</title> 
<body> 
<form action ="" method="post"> 
URL to site: <input type ="text" name="site"/> 
<input type = "submit" value="Find" /> 
</form> 
</body> 
</html> 

<?php 

@set_time_limit(0); 

$site = $_POST['site']; 

$list = array( 
'/phpMyAdmin/',  
'/phpmyadmin/', 
'/PMA/', 
'/pma/',  
'/admin/',  
'/dbadmin/',  
'/mysql/',  
'/myadmin/',  
'/phpmyadmin2/',  
'/phpMyAdmin2/',  
'/phpMyAdmin-2/',  
'/php-my-admin/',  
'/phpMyAdmin-2.2.3/',  
'/phpMyAdmin-2.2.6/',  
'/phpMyAdmin-2.5.1/',  
'/phpMyAdmin-2.5.4/',  
'/phpMyAdmin-2.5.5-rc1/',  
'/phpMyAdmin-2.5.5-rc2/',  
'/phpMyAdmin-2.5.5/',  
'/phpMyAdmin-2.5.5-pl1/',  
'/phpMyAdmin-2.5.6-rc1/',  
'/phpMyAdmin-2.5.6-rc2/',  
'/phpMyAdmin-2.5.6/',  
'/phpMyAdmin-2.5.7/',  
'/phpMyAdmin-2.5.7-pl1/',  
'/phpMyAdmin-2.6.0-alpha/',  
'/phpMyAdmin-2.6.0-alpha2/',  
'/phpMyAdmin-2.6.0-beta1/',  
'/phpMyAdmin-2.6.0-beta2/',  
'/phpMyAdmin-2.6.0-rc1/',  
'/phpMyAdmin-2.6.0-rc2/',  
'/phpMyAdmin-2.6.0-rc3/',  
'/phpMyAdmin-2.6.0/',  
'/phpMyAdmin-2.6.0-pl1/',  
'/phpMyAdmin-2.6.0-pl2/',  
'/phpMyAdmin-2.6.0-pl3/',  
'/phpMyAdmin-2.6.1-rc1/',  
'/phpMyAdmin-2.6.1-rc2/',  
'/phpMyAdmin-2.6.1/',  
'/phpMyAdmin-2.6.1-pl1/',  
'/phpMyAdmin-2.6.1-pl2/',  
'/phpMyAdmin-2.6.1-pl3/',  
'/phpMyAdmin-2.6.2-rc1/',  
'/phpMyAdmin-2.6.2-beta1/',  
'/phpMyAdmin-2.6.2-rc1/',  
'/phpMyAdmin-2.6.2/',  
'/phpMyAdmin-2.6.2-pl1/',  
'/phpMyAdmin-2.6.3/',  
'/phpMyAdmin-2.6.3-rc1/',  
'/phpMyAdmin-2.6.3/',  
'/phpMyAdmin-2.6.3-pl1/',  
'/phpMyAdmin-2.6.4-rc1/',  
'/phpMyAdmin-2.6.4-pl1/',  
'/phpMyAdmin-2.6.4-pl2/',  
'/phpMyAdmin-2.6.4-pl3/',  
'/phpMyAdmin-2.6.4-pl4/',  
'/phpMyAdmin-2.6.4/',  
'/phpMyAdmin-2.7.0-beta1/',  
'/phpMyAdmin-2.7.0-rc1/',  
'/phpMyAdmin-2.7.0-pl1/',  
'/phpMyAdmin-2.7.0-pl2/',  
'/phpMyAdmin-2.7.0/',  
'/phpMyAdmin-2.8.0-beta1/',  
'/phpMyAdmin-2.8.0-rc1/',  
'/phpMyAdmin-2.8.0-rc2/',  
'/phpMyAdmin-2.8.0/',  
'/phpMyAdmin-2.8.0.1/',  
'/phpMyAdmin-2.8.0.2/',  
'/phpMyAdmin-2.8.0.3/',  
'/phpMyAdmin-2.8.0.4/',  
'/phpMyAdmin-2.8.1-rc1/',  
'/phpMyAdmin-2.8.1/',  
'/phpMyAdmin-2.8.2/',  
'/sqlmanager/',  
'/mysqlmanager/',  
'/p/m/a/',  
'/PMA2005/',  
'/pma2005/',  
'/phpmanager/',  
'/php-myadmin/',  
'/phpmy-admin/',  
'/webadmin/',  
'/sqlweb/',  
'/websql/',  
'/webdb/',  
'/mysqladmin/',  
'/mysql-admin/', 
'/mya/', 
); 

if(isset($site)){ 

foreach($list as $path => $test) { 
$ch = curl_init(); 
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
curl_setopt($ch, CURLOPT_HEADER, 1); 
curl_setopt($ch, CURLOPT_URL, $site.$test); 
$result = curl_exec($ch); 
curl_close($ch); 
//print $url; 
if (preg_match("/200 OK/", $result)){ 
echo "<br /><b> [!] w00t! w00t! Found phpMyAdmin [ $site$test ]</b>"; 
} 
else if (preg_match("/401 Unauthorized/", $result)) { 
echo "<br /><b> [!] w00t! w00t! Found phpMyAdmin [ $site$test ]</b>"; 
} 
else { 
echo "<br /> [-] Nothing found on [$site$test]"; 
} 
} 
} 

?>



thankz for ABH

PhpMyAdmin finder Rating: 4.5 Diposkan Oleh: r007-

0 komentar:

Posting Komentar