!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/teky/compiled/   drwxr-xr-x
Free 50.92 GB of 127.8 GB (39.84%)
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 (8.88 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/teky/jquery.corner.js"></script>
<script type="text/javascript" src="templates/teky/jquery.pngfix.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
        $('.tpl_corners').corner();
        $(document).pngFix();
    });
    <?php
        $m1 
$m2 $m3 $m4 "";
        
$page = @$_GET['page'];
        switch(
$page) {
            default:
                
$m1 ' style="background-color:#EDEFF1;"';
            break;
            case 
"download":
                
$m2 ' style="background-color:#EDEFF1;"';
            break;
            case 
"forum":
                
$m3 ' style="background-color:#EDEFF1;"';
            break;
            case 
"gallery":
                
$m4 ' style="background-color:#EDEFF1;"';
            break;
        }
    
?>
</script>
<!-- JQUERY e -->

<div class="tpl_header_top">
    <div class="tpl_inbox">
        <ul class="menu">
            <li><div><img src="templates/teky/images/menu_spacer.gif" alt="|"></div></li>
            <li><a href="<?php echo $var["site_url"];?>" title="<?php echo $var["site_name"];?>"<?php echo $m1?>><div>Main</div></a></li>
            <li><div><img src="templates/teky/images/menu_spacer.gif" alt="|"></div></li>
            <li><a href="index.php?page=download" title="Downloads"<?php echo $m2?>><div>Download</div></a></li>
            <li><div><img src="templates/teky/images/menu_spacer.gif" alt="|"></div></li>
            <li><a href="index.php?page=forum" title="Forums"<?php echo $m3?>><div>Forums</div></a></li>
            <li><div><img src="templates/teky/images/menu_spacer.gif" alt="|"></div></li>
            <li><a href="index.php?page=gallery" title="Gallery"<?php echo $m4?>><div>Gallery</div></a></li>
            <li><div><img src="templates/teky/images/menu_spacer.gif" alt="|"></div></li>
        </ul>
    </div>
</div>
<div class="tpl_header_main">
    <div class="tpl_inbox">
        <div class="logo"><img src="templates/teky/images/logo.png" alt="<?php echo $var["site_name"];?>"></div>
        <div class="adv"><?php echo showBanner(1); ?></div>
    </div>
</div>
<div class="tpl_header_bottom"><div class="tpl_inbox"><img src="templates/teky/images/smarr.gif" width="9" height="6" alt="&gt;">&nbsp;<?php echo $var["showpath"];?></div></div>
<div class="tpl_main"><div class="tpl_inbox">
<!-- MAIN i -->    
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td valign="top">
                        <!-- MAIN CONTENT i -->
                            <?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 ?>
                            
                            <!-- 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/teky/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>
                    <!-- EXTRA -->
                    <?php
    
if( $var["fullscreen"] < ){
?>
                    <td class="tpl_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
            
}
?>
                    <!-- NAV -->
                    <?php
            
if( $var["fullscreen"] < ){
?>
                    <td class="tpl_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
                    
}
?>
                </tr>
            </table>
<!-- MAIN e -->
</div></div>
<div class="tpl_inbox"><div class="tpl_footer 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>
<!--/ 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.0147 ]--