!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)

E:\xampp\xampp\htdocs\jaime\Xcode\WebPageElements\   drwxrwxrwx
Free 7.97 GB of 239.26 GB (3.33%)
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:     tmp.php (2.6 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require_once('MySQL.php');
require_once(
'Menu.php');

$host='localhost';   // Hostname of MySQL server
$dbUser='harryf';    // Username for MySQL
$dbPass='secret';    // Password for user
$dbName='sitepoint'// Database name

$mysql=& new MySQL($host,$dbUser,$dbPass,$dbName);

// Set the base location for this page
$base='/test/WebPageElements/12.php';

// Fetch the location framement to match against menu table
$location str_replace ($base,'',$_SERVER['PHP_SELF']);

// Instantiate new BreadCrumb menu
$menu=& new BreadCrumb($mysql,$location);

// Get the menu items array
$items=$menu->getMenu();

echo ( 
'<h1>Bread Crumbs Menu</h1>' );
// Display the breadcrumbs   
foreach ($items as $item) {
    if ( 
$item->isRoot() ) {
        echo ( 
"<a href=\"".$base.$item->location()."\">".$item->name()."</a> " );
    } else {
        echo ( 
"> <a href=\"".$base.$item->location()."\">".$item->name()."</a> " );
    }
}

// Instantiate a tree menu
$menu=& new ContextMenu($mysql,$location);

// Get the menu
$items=$menu->getMenu();

echo ( 
'<h1>Context Menu</h1>' );
// Display the children
echo ( "<ul>\n" );
foreach ( 
$items as $item ) {
    if ( 
$item->isStart() )
        echo ( 
"<ul>\n" );
    else if ( 
$item->isEnd() )
        echo ( 
"</ul>\n" );
    echo ( 
"<li><a href=\"".$base.$item->location()."\">".$item->name()."</a></li>\n" );
}
echo ( 
"</ul>\n" );

// Instantiate a tree menu
$menu=& new CollapsingTree($mysql,$location);

// Get the menu
$items=$menu->getMenu();

echo ( 
'<h1>Collapsing Tree Menu</h1>' );
// Display the collapsing tree menu
echo ( "<ul>\n" );
foreach ( 
$items as $item ) {

    
// Use the isStart() method to find out if this is the start
    // of a branch
    
if ( $item->isStart() )
        echo ( 
"<ul>\n" );
    else if ( 
$item->isEnd() )
        echo ( 
"</ul>\n" );
    else
        echo ( 
"<li><a href=\"".$base.$item->location()."\">".$item->name()."</a></li>\n" );
}
echo ( 
"</ul>\n" );

// Instantiate a tree menu
$menu=& new FullTree($mysql,$location);

// Get the menu
$items=$menu->getMenu();

echo ( 
'<h1>Full Tree Menu</h1>' );
// Display the full tree menu
echo ( "<ul>\n" );
foreach ( 
$items as $item ) {
    if ( 
$item->isStart() ) {
        echo ( 
"<ul>\n" );
    } else if ( 
$item->isEnd() ) {
        echo ( 
"</ul>\n" );
    } else {
        echo ( 
"<li><a href=\"".$base.$item->location()."\">" );
        if ( 
$item->isCurrent() ) {
            echo(
'>> '.$item->name().' <<');
        } else {
            echo(
$item->name());
        }
        echo ( 
"</a></li>\n" );
    }
}
echo ( 
"</ul>\n" );
?>

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