!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/templates/memht/compiled/   drwxr-xr-x
Free 53.8 GB of 127.8 GB (42.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     home_def.php (9.26 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

<?php $var['rain'] = $GLOBALS?>
<!-- home | generated by RainTPL v 1.0 | www.RainTPL.com -->
<table width="906" cellpadding="0" cellspacing="0" border="0" align="center">
    <!-- HEADER i -->
    <!-- logo -->
    <tr>
        <td class="tpl_header" colspan="3" align="right"><div style="padding-right:12px;"><?php showBanner(1); ?></div></td>
    </tr>
    <!-- buttons -->
    <tr>
        <td class="tpl_main_l"></td>
        <td class="tpl_buttons">
            <ul>
                <li class='tpl_menu_b1'><a href="<?php echo $var["site_url"];?>" title="<?php echo $var["site_name"];?>"><div><h1><?php echo $var["site_name"];?></h1></div></a></li>
                <li class='tpl_menu_b2'><a href="index.php?page=download" title="Downloads"><div><h1>Download</h1></div></a></li>
                <li class='tpl_menu_b3'><a href="index.php?page=forum" title="Forums"><div><h1>Forums</h1></div></a></li>
                <li class='tpl_menu_b4'><a href="index.php?page=gallery" title="Gallery"><div><h1>Gallery</h1></div></a></li>
                <li class='tpl_menu_b5'><a href="index.php?page=search" title="Search"><div><h1>Search</h1></div></a></li>
                <li class='tpl_menu_b6'><a href="index.php?page=sitemap" title="Sitemap"><div><h1>Sitemap</h1></div></a></li>
                <li class='tpl_menu_b7'><a href="index.php?page=rss" title="RSS Feeds"><div><h1>RSS Feeds</h1></div></a></li>
            </ul>
        </td>
        <td class="tpl_main_r"></td>
    </tr>
    <!-- path -->
    <tr>
        <td class="tpl_main_l"></td>
        <td class="tpl_path"><img src="templates/memht/images/tpl_icon.png" alt="Icon">&nbsp;<?php echo $var["showpath"];?></td>
        <td class="tpl_main_r"></td>
    </tr>
    <!-- HEADER e -->
    <!-- MAIN i -->
    <tr>
        <td class="tpl_main_l"></td>
        <td class="tpl_content">
            <!-- content -->
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <?php
    
if( $var["fullscreen"] < ){
?>
                        <td class="tpl_navigator" valign="top">
                            <!-- NAVIGATOR BLOCKS i -->
                            <?php
        
if( isset( $var["tpl_blocks_navigator"] ) ){
            
$counter1 0;
            foreach( 
$var["tpl_blocks_navigator"] as $key1 => $value1 ){ 
?>
                                <?php
            
if( $value1["flag"] == ){
?>
                                    <div class='tpl_block_nav'>
                                        <?php
                
if( $value1["usetitle"] > ){
?>
                                            <div class='tpl_block_nav_title'><img src="templates/memht/images/tpl_icon.png" alt="Icon">&nbsp;<?php echo $value1["title"];?></div>
                                        <?php
                
}
?>
                                    <div><?php echo $value1["content"];?></div>
                                    </div>
                                    <div class='tpl_block_nav_end'></div>
                                <?php
            
}
                elseif( 
$value1["flag"] == ){
?>
                                    <?php
                    
if( $value1["usetitle"] > ){
?>
                                        <div class='tpl_block_title_h1'><img src="templates/memht/images/tpl_icon.png" alt="Icon">&nbsp;<?php echo $value1["title"];?></div>
                                    <?php
                    
}
?>
                                    <div class='tpl_block_body_h1'><?php echo $value1["content"];?></div>
                                <?php
                
}
                    elseif( 
$value1["flag"] > ){
?>
                                    <?php
                        
if( $value1["usetitle"] > ){
?>
                                        <div class='tpl_block_title_h2'><img src="templates/memht/images/tpl_icon.png" alt="Icon">&nbsp;<?php echo $value1["title"];?></div>
                                    <?php
                        
}
?>
                                    <div class='tpl_block_body_h2'><?php echo $value1["content"];?></div>
                                <?php
                    
}
?>
                                <div class='tpl_vspacer'></div>
                            <?php
                        $counter1
++;
                    }
                }
?>
                            <!-- NAVIGATOR BLOCKS e -->
                        </td>
                    <?php
            
}
?>
                    <td class="tpl_main" valign="top">
                        <!-- MAIN CONTENT i -->
                            <!-- MESSAGES i -->
                            <?php
            
if( isset( $var["tpl_messages"] ) ){
                
$counter1 0;
                foreach( 
$var["tpl_messages"] as $key1 => $value1 ){ 
?>
                                <div class='tpl_mex_box'>
                                    <div class='tpl_mex_boxtop'><div></div></div>
                                    <div class='tpl_mex_boxcontent'>
                                        <div class='tpl_mex_title'><?php echo $value1["title"];?></div>
                                        <div><?php echo $value1["content"];?></div>
                                    </div>
                                    <div class='tpl_mex_boxbottom'><div></div></div>
                                </div>
                                <div class='tpl_vspacer'></div>
                            <?php
                    $counter1
++;
                }
            }
?>
                            <!-- MESSAGES e -->
                                                
                            <!-- CENTRAL BLOCKS i -->
                            <?php
            
if( isset( $var["tpl_blocks_central"] ) ){
                
$counter1 0;
                foreach( 
$var["tpl_blocks_central"] as $key1 => $value1 ){ 
?>
                                <?php
                
if( $value1["flag"] == ){
?>
                                    <?php
                    
if( $value1["usetitle"] > ){
?>
                                        <div class='tpl_block_title'><img src="templates/memht/images/tpl_icon.png" alt="Icon">&nbsp;<?php echo $value1["title"];?></div>
                                    <?php
                    
}
?>
                                <?php
                
}
                    elseif( 
$value1["flag"] == ){
?>
                                    <?php
                        
if( $value1["usetitle"] > ){
?>
                                        <div class='tpl_block_title_h1'><img src="templates/memht/images/tpl_icon.png" alt="Icon">&nbsp;<?php echo $value1["title"];?></div>
                                    <?php
                        
}
?>
                                <?php
                    
}
                        elseif( 
$value1["flag"] > ){
?>
                                    <?php
                            
if( $value1["usetitle"] > ){
?>
                                        <div class='tpl_block_title_h2'><img src="templates/memht/images/tpl_icon.png" alt="Icon">&nbsp;<?php echo $value1["title"];?></div>
                                    <?php
                            
}
?>
                                <?php
                        
}
?>
                                <div><?php echo $value1["content"];?></div>
                                <div class='tpl_vspacer'></div>
                            <?php
                            $counter1
++;
                        }
                    }
?>
                            <!-- CENTRAL BLOCKS e -->
                                                
                            <!-- PAGE i -->
                            <?php
                    
if( $var["tpl_page"]["title"] != '' ){
?>
                                <div class='tpl_page_title'>
                                <?php
                        
if( $var["tpl_page"]["url"] != '' ){
?>
                                    <img src="templates/memht/images/tpl_icon.png" alt="Icon">&nbsp;<a href='<?php echo $var["tpl_page"]["url"];?>' title='<?php echo $var["tpl_page"]["title"];?>'><b><?php echo $var["tpl_page"]["title"];?></b></a>
                                <?php
                        
}
                        else{
?>
                                    <b><?php echo $var["tpl_page"]["title"];?></b>
                                <?php
                        
}
?>
                                </div>
                            <?php
                    
}
?>
                            <?php
                    
if( $var["tpl_page"]["name"] == 'blog' ){
?> <?php
$RainTPL_include_obj 
= new RainTPL();
$RainTPL_include_obj->assign$var );
$RainTPL_directory_template_temp $RainTPL_include_obj->tpl_dir;
$this->tpl_dir $GLOBALS'RainTPL_tpl_dir' ] = $RainTPL_include_obj->tpl_dir "/" dirname"blog" );
$RainTPL_include_obj->drawbasename"blog" ) );
$this->tpl_dir $GLOBALS'RainTPL_tpl_dir' ] = $RainTPL_directory_template_temp;
?> <?php
                    
}
?>
                            <?php
                    
if( $var["tpl_page"]["name"] == 'news' ){
?> <?php
$RainTPL_include_obj 
= new RainTPL();
$RainTPL_include_obj->assign$var );
$RainTPL_directory_template_temp $RainTPL_include_obj->tpl_dir;
$this->tpl_dir $GLOBALS'RainTPL_tpl_dir' ] = $RainTPL_include_obj->tpl_dir "/" dirname"news" );
$RainTPL_include_obj->drawbasename"news" ) );
$this->tpl_dir $GLOBALS'RainTPL_tpl_dir' ] = $RainTPL_directory_template_temp;
?> <?php
                    
}
?>
                            <div><?php echo $var["tpl_page"]["content"];?></div>
                            <!-- PAGE e -->
                        <!-- MAIN CONTENT e -->
                    </td>
                    <?php
                    
if( $var["fullscreen"] < ){
?>
                        <td class="tpl_extra" valign="top">
                            <!-- EXTRA BLOCKS i -->
                            <?php
                        
if( isset( $var["tpl_blocks_extra"] ) ){
                            
$counter1 0;
                            foreach( 
$var["tpl_blocks_extra"] as $key1 => $value1 ){ 
?>
                                <?php
                            
if( $value1["flag"] == ){
?>
                                    <?php
                                
if( $value1["usetitle"] > ){
?>
                                        <div class='tpl_block_title'><img src="templates/memht/images/tpl_icon.png" alt="Icon">&nbsp;<?php echo $value1["title"];?></div>
                                    <?php
                                
}
?>
                                    <div class='tpl_block_body'><?php echo $value1["content"];?></div>
                                <?php
                            
}
                                elseif( 
$value1["flag"] == ){
?>
                                    <?php
                                    
if( $value1["usetitle"] > ){
?>
                                        <div class='tpl_block_title_h1'><img src="templates/memht/images/tpl_icon.png" alt="Icon">&nbsp;<?php echo $value1["title"];?></div>
                                    <?php
                                    
}
?>
                                    <div class='tpl_block_body_h1'><?php echo $value1["content"];?></div>
                                <?php
                                
}
                                    elseif( 
$value1["flag"] > ){
?>
                                    <?php
                                        
if( $value1["usetitle"] > ){
?>
                                        <div class='tpl_block_title_h2'><img src="templates/memht/images/tpl_icon.png" alt="Icon">&nbsp;<?php echo $value1["title"];?></div>
                                    <?php
                                        
}
?>
                                    <div class='tpl_block_body_h2'><?php echo $value1["content"];?></div>
                                <?php
                                    
}
?>
                                <div class='tpl_vspacer'></div>
                            <?php
                                        $counter1
++;
                                    }
                                }
?>
                            <!-- EXTRA BLOCKS e -->
                        </td>
                    <?php
                            
}
?>
                </tr>
            </table>
        </td>
        <td class="tpl_main_r"></td>
    </tr>
    <!-- MAIN e -->
    <!-- FOOTER i -->
    <tr>
        <td class="tpl_foot_l"></td>
        <td class="tpl_foot_c">
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td class="left"></td>
                    <td class="center">
                        <table>
                            <tr><td class="centertxt"><?php echo $var["copyright"];?></td></tr>
                            <tr><td class="centertxt"><?php echo $var["copytext"];?></td></tr>
                        </table>
                    </td>
                    <td class="right"></td>
                </tr>
            </table>
        </td>
        <td class="tpl_foot_r"></td>
    </tr>
    <!-- FOOTER e -->
</table>
<div class="tpl_footmsg" align="center"><?php echo $var["footmsg"];?></div>
<!--/ home -->

:: 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.0079 ]--