!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:\dmz\contrib\   drwxrwxrwx
Free 4.08 GB of 39.52 GB (10.32%)
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:     ftp-mit-php.php (1.16 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$host
="localhost";
$user="zaphod";
$password="blabla";

// Herstellen der Basis-Verbindung
$conn_id ftp_connect($host); 

// Einloggen mit Benutzername und Kennwort
$login_result ftp_login($conn_id$user$password); 

// Verbindung überprüfen
if ((!$conn_id) || (!$login_result)) { 
        echo 
"Ftp-Verbindung nicht hergestellt!";
        echo 
"Verbindung mit $host als Benutzer $user nicht möglich"
        die; 
    } else {
        echo 
"Verbunden mit $host als Benutzer $user";
    }

print 
"<br>";
$path="/";
$dir "";
///// List  
$files=ftp_nlist($conn_id"$path");
foreach (
$files as $file) {
 
$isfile ftp_size($conn_id$file); 
 if(
$isfile == "-1") { // Ist ein Verzeichnis
  
print $file."/ [DIR]<br>";
 }
 else {
  
$filelist[(count($filelist)+1)] = $file// Ist eine Verzeichnis
  
print $file."<br>";
 }
}


///// Upload 
// ftp_put($conn_id, $remote_file_path, $local_file_path, FTP_BINARY);
 
///// Download
// ftp_get($conn_id, $local_file_path, $remote_file_path, FTP_BINARY); 

///// Löschen einer Datei
// ftp_delete ($conn_id, $remote_file_path); 


// Schließen des FTP-Streams
ftp_quit($conn_id); 
?>

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