Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

session_write_close(); if (defined("\102\101\x53\105\x5f\x44\111\122")) { goto NB_lIiLPV1B..

Decoded Output download

<?  session_write_close(); if (defined("BASE_DIR")) { goto NB_lIiLPV1B_Hnd; } session_write_close(); exit("Access denied!"); NB_lIiLPV1B_Hnd: use GDPlayer\Plugins; goto QkvoRhtI2pp8VZD; MtmlFVN5SaJjnLm: function remove_plugin_option(string $key = '') { goto SFfIsJhF11brgAJ; JTfbQ_DZvrIC82T: session_write_close(); goto GcAo3MvuOc4ZN3L; GcAo3MvuOc4ZN3L: $key .= SETTINGS_PREFIX; goto tU3vQRycHDoOR4o; tU3vQRycHDoOR4o: $class = new Plugins(); goto MalgJEU6IDZUHWc; MalgJEU6IDZUHWc: $class->setCriteria("key", $key); goto HBwAnwDHOMb2cCE; fHgeigpDP2yC5M9: YoyljVP0A08sXo0: goto jPR00OemH44e2Yt; HBwAnwDHOMb2cCE: return $class->delete(); goto fHgeigpDP2yC5M9; jPR00OemH44e2Yt: return false; goto YIJzmqyhMc4Gn7R; SFfIsJhF11brgAJ: session_write_close(); goto nHYX9iP5ZSPoCAq; nHYX9iP5ZSPoCAq: if (empty($key)) { goto YoyljVP0A08sXo0; } goto JTfbQ_DZvrIC82T; YIJzmqyhMc4Gn7R: } goto y6n5MDENYJ6uyKD; z57lsjog9j2G1Ej: function set_plugin_option(string $key = '', $value = null) { goto D1dEqnJE1F_LHEv; D1dEqnJE1F_LHEv: session_write_close(); goto WOyUYQNGUr5cEbH; UNX9am9BaVvLf6k: $value = is_array($value) ? json_encode($value, true) : $value; goto tfMb_t0uwCf61bO; JlxSgFuEtNv1D3h: return $class->insert(array("key" => $key, "value" => $value, "updated" => time())); goto xexkZ_radK3QzsX; hhC4oDhkbaLM0GS: if ($data) { goto ghUiN0KYAESn80F; } goto AUkN4Xk113GwWe0; W_vEbzUv1ytWBMs: return false; goto Ae6MjKbEjfkerN_; tfMb_t0uwCf61bO: return $class->update(array("key" => $key, "value" => $value, "updated" => time())); goto thLlGu89Pz83kKB; thLlGu89Pz83kKB: KxW9mVgYYF1La_P: goto UiA5sV0gxld5PaL; mr6NZN8PUXvELTI: session_write_close(); goto c6Kp1OUVABPC1Fd; W3W2mK0QPThkS7i: $data = $class->getOne(["id"]); goto hhC4oDhkbaLM0GS; UiA5sV0gxld5PaL: VBtdX_oVozH7y6v: goto W_vEbzUv1ytWBMs; pY_JtEJ8EzGe0R1: session_write_close(); goto MhgxNebI0I1wzY0; a_QO2O2Ny0StLGE: $class = new Plugins(); goto iy5UgseBCcMZ9Yu; daWxCja_9RDVYGG: ghUiN0KYAESn80F: goto pY_JtEJ8EzGe0R1; xexkZ_radK3QzsX: goto KxW9mVgYYF1La_P; goto daWxCja_9RDVYGG; AUkN4Xk113GwWe0: session_write_close(); goto JlxSgFuEtNv1D3h; MhgxNebI0I1wzY0: $class->setCriteria("key", $key); goto UNX9am9BaVvLf6k; c6Kp1OUVABPC1Fd: $key .= SETTINGS_PREFIX; goto a_QO2O2Ny0StLGE; WOyUYQNGUr5cEbH: if (empty($key)) { goto VBtdX_oVozH7y6v; } goto mr6NZN8PUXvELTI; iy5UgseBCcMZ9Yu: $class->setCriteria("key", $key); goto W3W2mK0QPThkS7i; Ae6MjKbEjfkerN_: } goto MtmlFVN5SaJjnLm; xRH5ZoGXp_HKzL3: function get_plugin_option(string $key = '') { goto wKCpz1FlKMsV7YB; tbxp2Ip7xgKrBPF: if (!empty($key)) { goto uoBcFxmC3lfTywK; } goto vy_2kHSqSEeX14Y; EH_kJ_IQn3TI6Op: $class->setLimit(1); goto VGTIn7yHmQODYbX; S6CTH8r7vn5nt9P: YoJXEgVB7Y7CllQ: goto uW0rogCKF59MAxW; HDkLgioMg6tCoGe: return false; goto m1xhUudpMVZBlmu; wKCpz1FlKMsV7YB: session_write_close(); goto QiP1Sj9_FD95NA2; VGTIn7yHmQODYbX: $class->setCriteria("key", $key); goto wrdT74mRdPj0ThZ; Lz2EGKa2q6WTSPD: $data = $class->get(["key", "value"]); goto DMslVpZnIz_29Fb; wEDBBrVGdhGIlX7: XipqQo1beCEzUHu: goto vlzpocMimiE2L92; wrdT74mRdPj0ThZ: $data = $class->getOne(["value"]); goto ikAfI9TILNLqLwZ; vwbtq240iMMoBFK: goto A_veolpqGLAm56j; goto zI81YCDyjFA2nIY; V4VYV24KRc3lJ3B: session_write_close(); goto JLRwGmttfzP_Li0; zI81YCDyjFA2nIY: uoBcFxmC3lfTywK: goto V4VYV24KRc3lJ3B; JLRwGmttfzP_Li0: $key .= SETTINGS_PREFIX; goto EH_kJ_IQn3TI6Op; uW0rogCKF59MAxW: return $result; goto vwbtq240iMMoBFK; QiP1Sj9_FD95NA2: $class = new Plugins(); goto tbxp2Ip7xgKrBPF; QLD5ENKF0iQ4eVJ: $result = []; goto Lz2EGKa2q6WTSPD; DMslVpZnIz_29Fb: foreach ($data as $dt) { goto nfuXvAbxD7MNl2C; CGZVbYPADCj03v2: $result[$dt["key"]] = json_decode($dt["value"], true); goto mlQawQxqN_sNlLo; mlQawQxqN_sNlLo: MPdeVmOb7sZzuJ4: goto Ym0cvYBEfwHyomO; nfuXvAbxD7MNl2C: session_write_close(); goto CGZVbYPADCj03v2; Ym0cvYBEfwHyomO: } goto S6CTH8r7vn5nt9P; ikAfI9TILNLqLwZ: if (!$data) { goto XipqQo1beCEzUHu; } goto NCU1UqeRYS6h31I; xK6zkeuT5skGiFh: return json_decode($data["value"], true); goto wEDBBrVGdhGIlX7; vy_2kHSqSEeX14Y: session_write_close(); goto QLD5ENKF0iQ4eVJ; vlzpocMimiE2L92: A_veolpqGLAm56j: goto HDkLgioMg6tCoGe; NCU1UqeRYS6h31I: session_write_close(); goto xK6zkeuT5skGiFh; m1xhUudpMVZBlmu: } goto z57lsjog9j2G1Ej; QkvoRhtI2pp8VZD: define("SETTINGS_PREFIX", "_settings"); goto xRH5ZoGXp_HKzL3; y6n5MDENYJ6uyKD: $class = new Plugins(); goto reScCtLEE_RicE8; reScCtLEE_RicE8: $class->load(); 
 ?>

Did this file decode correctly?

Original Code

session_write_close(); if (defined("\102\101\x53\105\x5f\x44\111\122")) { goto NB_lIiLPV1B_Hnd; } session_write_close(); exit("\x41\x63\143\x65\163\163\x20\144\145\x6e\151\x65\144\41"); NB_lIiLPV1B_Hnd: use GDPlayer\Plugins; goto QkvoRhtI2pp8VZD; MtmlFVN5SaJjnLm: function remove_plugin_option(string $key = '') { goto SFfIsJhF11brgAJ; JTfbQ_DZvrIC82T: session_write_close(); goto GcAo3MvuOc4ZN3L; GcAo3MvuOc4ZN3L: $key .= SETTINGS_PREFIX; goto tU3vQRycHDoOR4o; tU3vQRycHDoOR4o: $class = new Plugins(); goto MalgJEU6IDZUHWc; MalgJEU6IDZUHWc: $class->setCriteria("\x6b\x65\x79", $key); goto HBwAnwDHOMb2cCE; fHgeigpDP2yC5M9: YoyljVP0A08sXo0: goto jPR00OemH44e2Yt; HBwAnwDHOMb2cCE: return $class->delete(); goto fHgeigpDP2yC5M9; jPR00OemH44e2Yt: return false; goto YIJzmqyhMc4Gn7R; SFfIsJhF11brgAJ: session_write_close(); goto nHYX9iP5ZSPoCAq; nHYX9iP5ZSPoCAq: if (empty($key)) { goto YoyljVP0A08sXo0; } goto JTfbQ_DZvrIC82T; YIJzmqyhMc4Gn7R: } goto y6n5MDENYJ6uyKD; z57lsjog9j2G1Ej: function set_plugin_option(string $key = '', $value = null) { goto D1dEqnJE1F_LHEv; D1dEqnJE1F_LHEv: session_write_close(); goto WOyUYQNGUr5cEbH; UNX9am9BaVvLf6k: $value = is_array($value) ? json_encode($value, true) : $value; goto tfMb_t0uwCf61bO; JlxSgFuEtNv1D3h: return $class->insert(array("\153\145\171" => $key, "\166\141\154\x75\145" => $value, "\165\160\144\141\x74\x65\144" => time())); goto xexkZ_radK3QzsX; hhC4oDhkbaLM0GS: if ($data) { goto ghUiN0KYAESn80F; } goto AUkN4Xk113GwWe0; W_vEbzUv1ytWBMs: return false; goto Ae6MjKbEjfkerN_; tfMb_t0uwCf61bO: return $class->update(array("\153\x65\x79" => $key, "\166\141\x6c\x75\145" => $value, "\165\x70\144\x61\x74\x65\x64" => time())); goto thLlGu89Pz83kKB; thLlGu89Pz83kKB: KxW9mVgYYF1La_P: goto UiA5sV0gxld5PaL; mr6NZN8PUXvELTI: session_write_close(); goto c6Kp1OUVABPC1Fd; W3W2mK0QPThkS7i: $data = $class->getOne(["\151\x64"]); goto hhC4oDhkbaLM0GS; UiA5sV0gxld5PaL: VBtdX_oVozH7y6v: goto W_vEbzUv1ytWBMs; pY_JtEJ8EzGe0R1: session_write_close(); goto MhgxNebI0I1wzY0; a_QO2O2Ny0StLGE: $class = new Plugins(); goto iy5UgseBCcMZ9Yu; daWxCja_9RDVYGG: ghUiN0KYAESn80F: goto pY_JtEJ8EzGe0R1; xexkZ_radK3QzsX: goto KxW9mVgYYF1La_P; goto daWxCja_9RDVYGG; AUkN4Xk113GwWe0: session_write_close(); goto JlxSgFuEtNv1D3h; MhgxNebI0I1wzY0: $class->setCriteria("\x6b\145\x79", $key); goto UNX9am9BaVvLf6k; c6Kp1OUVABPC1Fd: $key .= SETTINGS_PREFIX; goto a_QO2O2Ny0StLGE; WOyUYQNGUr5cEbH: if (empty($key)) { goto VBtdX_oVozH7y6v; } goto mr6NZN8PUXvELTI; iy5UgseBCcMZ9Yu: $class->setCriteria("\153\x65\x79", $key); goto W3W2mK0QPThkS7i; Ae6MjKbEjfkerN_: } goto MtmlFVN5SaJjnLm; xRH5ZoGXp_HKzL3: function get_plugin_option(string $key = '') { goto wKCpz1FlKMsV7YB; tbxp2Ip7xgKrBPF: if (!empty($key)) { goto uoBcFxmC3lfTywK; } goto vy_2kHSqSEeX14Y; EH_kJ_IQn3TI6Op: $class->setLimit(1); goto VGTIn7yHmQODYbX; S6CTH8r7vn5nt9P: YoJXEgVB7Y7CllQ: goto uW0rogCKF59MAxW; HDkLgioMg6tCoGe: return false; goto m1xhUudpMVZBlmu; wKCpz1FlKMsV7YB: session_write_close(); goto QiP1Sj9_FD95NA2; VGTIn7yHmQODYbX: $class->setCriteria("\x6b\145\171", $key); goto wrdT74mRdPj0ThZ; Lz2EGKa2q6WTSPD: $data = $class->get(["\x6b\145\x79", "\x76\141\x6c\165\145"]); goto DMslVpZnIz_29Fb; wEDBBrVGdhGIlX7: XipqQo1beCEzUHu: goto vlzpocMimiE2L92; wrdT74mRdPj0ThZ: $data = $class->getOne(["\166\141\x6c\165\145"]); goto ikAfI9TILNLqLwZ; vwbtq240iMMoBFK: goto A_veolpqGLAm56j; goto zI81YCDyjFA2nIY; V4VYV24KRc3lJ3B: session_write_close(); goto JLRwGmttfzP_Li0; zI81YCDyjFA2nIY: uoBcFxmC3lfTywK: goto V4VYV24KRc3lJ3B; JLRwGmttfzP_Li0: $key .= SETTINGS_PREFIX; goto EH_kJ_IQn3TI6Op; uW0rogCKF59MAxW: return $result; goto vwbtq240iMMoBFK; QiP1Sj9_FD95NA2: $class = new Plugins(); goto tbxp2Ip7xgKrBPF; QLD5ENKF0iQ4eVJ: $result = []; goto Lz2EGKa2q6WTSPD; DMslVpZnIz_29Fb: foreach ($data as $dt) { goto nfuXvAbxD7MNl2C; CGZVbYPADCj03v2: $result[$dt["\153\x65\x79"]] = json_decode($dt["\x76\x61\x6c\165\145"], true); goto mlQawQxqN_sNlLo; mlQawQxqN_sNlLo: MPdeVmOb7sZzuJ4: goto Ym0cvYBEfwHyomO; nfuXvAbxD7MNl2C: session_write_close(); goto CGZVbYPADCj03v2; Ym0cvYBEfwHyomO: } goto S6CTH8r7vn5nt9P; ikAfI9TILNLqLwZ: if (!$data) { goto XipqQo1beCEzUHu; } goto NCU1UqeRYS6h31I; xK6zkeuT5skGiFh: return json_decode($data["\166\x61\x6c\165\145"], true); goto wEDBBrVGdhGIlX7; vy_2kHSqSEeX14Y: session_write_close(); goto QLD5ENKF0iQ4eVJ; vlzpocMimiE2L92: A_veolpqGLAm56j: goto HDkLgioMg6tCoGe; NCU1UqeRYS6h31I: session_write_close(); goto xK6zkeuT5skGiFh; m1xhUudpMVZBlmu: } goto z57lsjog9j2G1Ej; QkvoRhtI2pp8VZD: define("\123\105\124\124\111\116\107\x53\x5f\120\122\105\x46\111\130", "\x5f\163\x65\164\x74\x69\156\x67\x73"); goto xRH5ZoGXp_HKzL3; y6n5MDENYJ6uyKD: $class = new Plugins(); goto reScCtLEE_RicE8; reScCtLEE_RicE8: $class->load();

Function Calls

None

Variables

None

Stats

MD5 afd84217330781320ac5681057be1326
Eval Count 0
Decode Time 56 ms