!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

C:\AmbienteBogota\aulavirtual\admin\   drwxrwxrwx
Free 4.13 GB of 39.52 GB (10.45%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     adminlog.php (3.84 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
* $Id: adminlog.php,v 1.5.2.7 2006/01/02 12:47:10 thorstenr Exp $
*
* Overview of actions in the admin section
*
* @author       Thorsten Rinne <thorsten@phpmyfaq.de>
* @since        2003-02-23
* @copyright    (c) 2001-2006 phpMyFAQ Team

* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/

* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
*/

if (!defined('IS_VALID_PHPMYFAQ_ADMIN')) {
    
header('Location: http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['SCRIPT_NAME']));
    exit();
}

if (
$permission["adminlog"]) {
    
$perpage 15;

    
$_user = array();

    
$_result $db->query("SELECT id, name FROM ".SQLPREFIX."faquser");
    while (
$row $db->fetch_object($_result)) {
        
$_user[$row->id] = $row->name;
    }
    
    if (!isset(
$_REQUEST["pages"])) {
        
$pages round(($db->num_rows($db->query("SELECT id FROM ".SQLPREFIX."faqadminlog"))+($perpage/3)) / $perpage,0);
    } else {
        
$pages $_REQUEST["pages"];
    }
    
    if (!isset(
$_REQUEST["page"])) {
        
$page 1;
    } else {
        
$page $_REQUEST["page"];
    }
    
    
$start = ($page-1) * $perpage;
    
$ende $start $perpage;
    
    
$PageSpan PageSpan("<a href=\"".$_SERVER["PHP_SELF"].$linkext."&amp;aktion=adminlog&amp;pages=".$pages."&amp;page=<NUM>\">"1$pages$page);
    
    
$result $db->query("SELECT id, time, usr, text, ip FROM ".SQLPREFIX."faqadminlog ORDER BY id DESC");
?>
    <h2><?php print $PMF_LANG["ad_adminlog"]; ?></h2>
    <table class="list">
    <thead>
        <tr>
            <th class="list"><?php print $PMF_LANG["ad_categ_id"]; ?></th>
            <th class="list"><?php print $PMF_LANG["ad_adminlog_date"]; ?></th>
            <th class="list"><?php print $PMF_LANG["ad_adminlog_user"]; ?></th>
            <th class="list"><?php print $PMF_LANG["ad_adminlog_ip"]; ?></th>
        </tr>
    </thead>
    <tfoot>
        <tr>
            <td class="list" colspan="4"><?php print $PageSpan?></td>
        </tr>
    </tfoot>
    <tbody>
<?php
    $counter 
0;
    
$displayedCounter 0;
    while ((
$row $db->fetch_object($result)) && $displayedCounter $perpage) {
        
$counter++;
        if (
$counter <= $start) {
            continue;
        }
        
$displayedCounter++; 
?>
        <tr class="cell">
            <td class="list"><?php print $row->id?></td>
            <td class="list"><?php print date("Y-m-d H:i:s",$row->time); ?></td>
            <td class="list"><?php print isset($_user[$row->usr]) ? $_user[$row->usr] : '&nbsp;'?></td>
            <td class="list"><?php print $row->ip?></td>
        </tr>
        <tr class="cell">
            <td colspan="4" class="list"><?php
        $text 
str_replace("Loginerror"$PMF_LANG["ad_log_lger"], $row->text);
        
$text str_replace("Session expired"$PMF_LANG["ad_log_sess"], $row->text);
        
$text str_replace("Useredit, "$PMF_LANG["ad_log_edit"], $row->text);
        
$text str_replace("Beitragcreatesave"$PMF_LANG["ad_log_crsa"], $row->text);
        
$text str_replace("Beitragcreate"$PMF_LANG["ad_log_crea"], $row->text);
        
$text str_replace("Usersave, "$PMF_LANG["ad_log_ussa"], $row->text);
        
$text str_replace("Userdel, "$PMF_LANG["ad_log_usde"], $row->text);
        
$text str_replace("Beitragedit, "$PMF_LANG["ad_log_beed"], $row->text);
        
$text str_replace("Beitragdel, "$PMF_LANG["ad_log_bede"], $row->text);
        print 
$text;
?></td>
        </tr>
<?php
    
}
?>
    </tbody>
    </table>
<?php
} else {
    print 
$PMF_LANG["err_NotAuth"];
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]--