!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/moling/compiled/   drwxr-xr-x
Free 50.91 GB of 127.8 GB (39.83%)
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.25 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 -->
<!-- JQUERY i -->
<script type="text/javascript" src="templates/moling/jquery.corner.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
        $('.tpl_corners').corner();
    });
</script>
<!-- JQUERY e -->

<div class="tpl_inbox">
    <div class="tpl_header">
        <div class="logo"><img src="templates/moling/images/logo.png" alt="<?php echo $var["site_name"];?>"></div>
        <div class="adv"><?php echo showBanner(1); ?></div>
    </div>
    <div class="tpl_main">
        <div class="tpl_buttons">
            <ul class="menu">
                <li><a href="<?php echo $var["site_url"];?>" title="<?php echo $var["site_name"];?>"><div>Main</div></a></li>
                <li><div><img src="templates/moling/images/tpl_buttons_spacer.gif" alt="|"></div></li>
                <li><a href="index.php?page=download" title="Downloads"><div>Download</div></a></li>
                <li><div><img src="templates/moling/images/tpl_buttons_spacer.gif" alt="|"></div></li>
                <li><a href="index.php?page=forum" title="Forums"><div>Forums</div></a></li>
                <li><div><img src="templates/moling/images/tpl_buttons_spacer.gif" alt="|"></div></li>
                <li><a href="index.php?page=gallery" title="Gallery"><div>Gallery</div></a></li>
                <li><div><img src="templates/moling/images/tpl_buttons_spacer.gif" alt="|"></div></li>
            </ul>
            <div class="tpl_login">
                <img src="templates/moling/images/tpl_buttons_spacer.gif" alt="|" style="float:left;">
                <?php
                    
global $user;
                    if (!
isUser($user)) {
                
?>
                <a href="index.php?page=users" title="Register or Login"><div><?php echo _REGISTER_." "._OR_." "._LOGIN_?></div></a>
                <?php
                    
} else {
                
?>
                <a href="index.php?page=users" title="Register or Login"><div><?php echo _HI_." <b>$user</b>"?></div></a>
                <?php
                    
}
                
?>
            </div>
        </div>
    </div>
    <div class="tpl_bar"><div><img src="templates/moling/images/smarr.gif" width="9" height="6" alt="&gt;">&nbsp;<?php echo $var["showpath"];?></div></div>
    <div class="tpl_main">
        <div class="tpl_content">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <!-- NAVIGATOR -->
                    <?php
    
if( $var["fullscreen"] < ){
?>
                    <td class="tpl_box_nav" valign="top">
                        <?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 tpl_corners">
                                <?php
                
if( $value1["usetitle"] > ){
?>
                                    <div class="tpl_block_title"><div><?php echo $value1["title"];?></div></div>
                                <?php
                
}
?>
                                <div class="tpl_block_body"><?php echo $value1["content"];?></div>
                            <?php
            
}
                elseif( @
$value1["flag"] == ){
?>
                                <div class="tpl_block_h1 tpl_corners">
                                <?php
                    
if( $value1["usetitle"] > ){
?>
                                    <div class="tpl_block_title_h1"><div><?php echo $value1["title"];?></div></div>
                                <?php
                    
}
?>
                                <div class="tpl_block_body_h1"><?php echo $value1["content"];?></div>
                            <?php
                
}
                    elseif( @
$value1["flag"] > ){
?>
                                <div class="tpl_block_h2 tpl_corners">
                                <?php
                        
if( $value1["usetitle"] > ){
?>
                                    <div class="tpl_block_title_h2"><div><?php echo $value1["title"];?></div></div>
                                <?php
                        
}
?>
                                <div class="tpl_block_body_h2"><?php echo $value1["content"];?></div>
                            <?php
                    
}
?>
                            </div>
                        <?php
                        $counter1
++;
                    }
                }
?>
                    </td>
                    <?php
            
}
?>
                    <td valign="top">
                        <?php if (!isset($_GET['page'])) { ?> <?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"highlight" );
$RainTPL_include_obj->drawbasename"highlight" ) );
$this->tpl_dir $GLOBALS'RainTPL_tpl_dir' ] = $RainTPL_directory_template_temp;
?> <?php ?>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <!-- EXTRA -->
                                <?php
            
if( $var["fullscreen"] < ){
?>
                                <td class="tpl_box_extra" valign="top">
                                    <?php
                
if( isset( $var["tpl_blocks_extra"] ) ){
                    
$counter1 0;
                    foreach( 
$var["tpl_blocks_extra"] as $key1 => $value1 ){ 
?>
                                        <?php
                    
if( @$value1["flag"] == ){
?>
                                            <div class="tpl_block tpl_corners">
                                            <?php
                        
if( $value1["usetitle"] > ){
?>
                                                <div class="tpl_block_title"><div><?php echo $value1["title"];?></div></div>
                                            <?php
                        
}
?>
                                            <div class="tpl_block_body"><?php echo $value1["content"];?></div>
                                        <?php
                    
}
                        elseif( @
$value1["flag"] == ){
?>
                                            <div class="tpl_block_h1 tpl_corners">
                                            <?php
                            
if( $value1["usetitle"] > ){
?>
                                                <div class="tpl_block_title_h1"><div><?php echo $value1["title"];?></div></div>
                                            <?php
                            
}
?>
                                            <div class="tpl_block_body_h1"><?php echo $value1["content"];?></div>
                                        <?php
                        
}
                            elseif( @
$value1["flag"] > ){
?>
                                            <div class="tpl_block_h2 tpl_corners">
                                            <?php
                                
if( $value1["usetitle"] > ){
?>
                                                <div class="tpl_block_title_h2"><div><?php echo $value1["title"];?></div></div>
                                            <?php
                                
}
?>
                                            <div class="tpl_block_body_h2"><?php echo $value1["content"];?></div>
                                        <?php
                            
}
?>
                                        </div>
                                    <?php
                                $counter1
++;
                            }
                        }
?>
                                </td>
                                <?php
                    
}
?>
                                
                                <!-- MAIN -->
                                <td class="tpl_box_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_messages_title'><?php echo $value1["title"];?></div>
                                            <div class='tpl_messages_body tpl_corners'><?php echo $value1["content"];?></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["usetitle"] > ){
?>
                                                <div class="tpl_block_title_c"><?php echo $value1["title"];?></div>
                                            <?php
                        
}
?>
                                            <div class="tpl_block_body_c tpl_corners"><?php echo $value1["content"];?></div>
                                        <?php
                            $counter1
++;
                        }
                    }
?>
                                        <!-- CENTRAL BLOCKS e -->
                                                                
                                        <!-- PAGE i -->
                                        <?php
                    
if( $var["tpl_page"]["title"] != '' ){
?>
                                            <div class='tpl_page_title'><img src="templates/moling/images/smarr.gif" width="9" height="6" alt="&gt;" style="margin-bottom:2px;">&nbsp;
                                            <?php
                        
if( $var["tpl_page"]["url"] != '' ){
?>
                                                <a href='<?php echo $var["tpl_page"]["url"];?>' title='<?php echo $var["tpl_page"]["title"];?>'><?php echo $var["tpl_page"]["title"];?></a>
                                            <?php
                        
}
                        else{
?>
                                                <?php echo $var["tpl_page"]["title"];?>
                                            <?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>
                            </tr>
                        </table>
                    </td>                    
                </tr>
            </table>
            <div class="tpl_foot tpl_corners">
                <div><?php echo $var["copyright"];?></div>
                <!--
                //=====================================================================
                // MemHT Portal is free, released under a very permissive license as
                // GNU/GPL: you can use, modify and distribute it. I'm only asking to
                // leave the following copyright piece of code intact according to the
                // license policy. Thanks
                //=====================================================================
                -->
                <div><?php echo $var["copytext"];?></div>
                <div><?php echo $var["footmsg"];?></div>
            </div>
        </div>
    </div>
    <div class="tpl_footer"></div>
</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.0128 ]--