Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * * @ This file is created by http://DeZender.Net * @ deZender (PHP7 Decoder..
Decoded Output download
<?php
/**
*
* @ This file is created by http://DeZender.Net
* @ deZender (PHP7 Decoder for ionCube Encoder)
*
* @ Version : 4.1.0.1
* @ Author : DeZender
* @ Release on : 29.08.2020
* @ Official site : http://DeZender.Net
*
*/
goto label350;
label1:
$A752e3fbe7ed63f10be97634c544dc8f = array_values(array_unique(array_map('trim', explode("
", shell_exec('ip -4 addr | grep -oP \'(?<=inet\s)\d+(\.\d+){3}\'')))));
goto label226;
label20:
touch(GEOIP2_FILENAME);
goto label375;
label25:
$B5490c2f61c894c091e04441954a0f09 = round((($d1a978924624c41845605404ded7e846 - $C5b51b10f98c22fb985e90c23eade263) / 1024) * 0.0078125, 2);
goto label197;
label34:
$E747328102236137f1cbe650c295e4a8 = intval(shell_exec('/usr/bin/free -tk | grep -i Mem: | awk \'{print $2}\''));
goto label74;
label42:
$c01d5077f34dc0ef046a6efa9e8e24f4 = $B5490c2f61c894c091e04441954a0f09 = $b35a2cc5b2ffb4acd1cf6b8b08ee4f43 = NULL;
goto label356;
label46:
goto label139;
label47:
goto label286;
label48:
$d1a978924624c41845605404ded7e846 = trim(file_get_contents('/sys/class/net/' . $d0d324f3dbb8bbc5fff56e8a848beb7a . '/statistics/rx_bytes'));
goto label394;
label59:
sleep(1);
goto label148;
label63:
$C6d911124d37d84aae02dbbd27390026 = intval(trim(shell_exec('ps aux | grep signal_receiver | grep -v grep | wc -l')));
goto label159;
label74:
$ce5ef88878670c9526bfdfab8267f916 = $E747328102236137f1cbe650c295e4a8 - intval(shell_exec('/usr/bin/free -tk | grep -i Mem: | awk \'{print $7}\''));
goto label340;
label83:
exit(0);
goto label47;
label85:
shell_exec(PHP_BIN . ' ' . IPTV_PANEL_DIR . 'tools/pipe_reader.php > /dev/null 2>/dev/null &');
goto label260;
label94:
if (file_exists(ENIGMA2_PLUGIN_DIR)) {
goto label46;
}
goto label188;
label101:
goto label253;
label102:
shell_exec(PHP_BIN . ' ' . IPTV_PANEL_DIR . 'tools/signal_receiver.php > /dev/null 2>/dev/null &');
goto label393;
label111:
$d0d324f3dbb8bbc5fff56e8a848beb7a = a78BF8D35765BE2408C50712cE7a43Ad::$StreamingServers[SERVER_ID]['network_interface'];
goto label42;
label117:
$b10021b298f7d4ce2f8e80315325fa1a = trim(file_get_contents('/sys/class/net/' . $d0d324f3dbb8bbc5fff56e8a848beb7a . '/statistics/tx_bytes'));
goto label164;
label128:
$C6788cc6a7dc5e43413102489972862e = intval(trim(shell_exec('ps aux | grep watchdog_data | grep -v grep | wc -l')));
goto label281;
label139:
$b05334022f117f99e07e10e7120b3707 = (int) trim(shell_exec('free | grep -c available'));
goto label193;
label148:
$e54a6ff3afc52767cdd38f62ab4c38d1 = trim(file_get_contents('/sys/class/net/' . $d0d324f3dbb8bbc5fff56e8a848beb7a . '/statistics/tx_bytes'));
goto label48;
label159:
if (!($C6d911124d37d84aae02dbbd27390026 == 0)) {
goto label393;
}
goto label102;
label164:
$C5b51b10f98c22fb985e90c23eade263 = trim(file_get_contents('/sys/class/net/' . $d0d324f3dbb8bbc5fff56e8a848beb7a . '/statistics/rx_bytes'));
goto label59;
label175:
$c447e2c8da4eb35e33ad00d1171c001d = trim(shell_exec('cat /proc/cpuinfo | grep \'model name\' | uniq | awk -F: \'{print $2}\''));
goto label240;
label183:
if (!($ad4bdb9efb0d9470d5540d122b892978 == 0)) {
goto label260;
}
goto label85;
label188:
mkdir(ENIGMA2_PLUGIN_DIR);
goto label46;
label193:
if ($b05334022f117f99e07e10e7120b3707 == 0) {
goto label198;
}
goto label34;
label197:
goto label403;
label198:
goto label376;
label199:
$Beead58eb65f6a16b84a5d7f85a2dbd0 = intval(shell_exec('lscpu | awk -F " : " \'/Core/ { c=$2; }; /Socket/ { print c*$2 }\' '));
goto label342;
label207:
if (!(!file_exists(GEOIP2_FILENAME) || (86400 <= time() - filemtime(GEOIP2_FILENAME)))) {
goto label375;
}
goto label368;
label226:
$f566700a43ee8e1f0412fe10fbdf03df->query('UPDATE `streaming_servers` SET `server_hardware` = \'%s\',`whitelist_ips` = \'%s\' WHERE `id` = \'%d\'', json_encode($b491382721126ed130f32155d616b806), json_encode($A752e3fbe7ed63f10be97634c544dc8f), SERVER_ID);
goto label207;
label240:
$f7d72ebd2d5da7acdd31cff803526ba4 = intval(shell_exec('ps aux|awk \'NR > 0 { s +=$3 }; END {print s}\''));
goto label111;
label248:
mkdir(MOVIES_IMAGES);
goto label329;
label253:
if (file_exists(MOVIES_IMAGES)) {
goto label329;
}
goto label248;
label260:
goto label313;
label261:
shell_exec(PHP_BIN . ' ' . IPTV_PANEL_DIR . 'tools/panel_monitor.php > /dev/null 2>/dev/null &');
goto label328;
label270:
$ad4bdb9efb0d9470d5540d122b892978 = intval(trim(shell_exec('ps aux | grep pipe_reader | grep -v grep | wc -l')));
goto label183;
label281:
if (!($C6788cc6a7dc5e43413102489972862e == 0)) {
goto label101;
}
goto label384;
label286:
require str_replace('\', '/', dirname($argv[0])) . '/../wwwdir/init.php';
goto label324;
label298:
$Ed756578679cd59095dfa81f228e8b38 = TMP_DIR . md5(AFFb052ccA396818D81004ff99db49aA() . __FILE__);
goto label410;
label308:
if (!($E8f9dea3c6b73e7af883fbd526c728b7 == 0)) {
goto label328;
}
goto label261;
label313:
$E8f9dea3c6b73e7af883fbd526c728b7 = intval(trim(shell_exec('ps aux | grep panel_monitor | grep -v grep | wc -l')));
goto label308;
label324:
cli_set_process_title('XtreamCodes[Server Checker]');
goto label298;
label328:
goto label128;
label329:
goto label94;
label330:
goto label199;
label331:
$ce5ef88878670c9526bfdfab8267f916 = $E747328102236137f1cbe650c295e4a8 - intval(shell_exec('/usr/bin/free -tk | grep -i Mem: | awk \'{print $4+$6+$7}\''));
goto label330;
label340:
goto label330;
goto label198;
label342:
$e8e405eb735fdd81a223c0a28cff7f7e = intval(shell_exec('grep --count ^processor /proc/cpuinfo'));
goto label175;
label350:
if (@$argc) {
goto label47;
}
goto label83;
label356:
if (empty($d0d324f3dbb8bbc5fff56e8a848beb7a)) {
goto label197;
}
goto label360;
label360:
$b35a2cc5b2ffb4acd1cf6b8b08ee4f43 = file_get_contents('/sys/class/net/' . $d0d324f3dbb8bbc5fff56e8a848beb7a . '/speed');
goto label117;
label368:
passthru('wget --no-check-certificate --user-agent "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0" --timeout=40 "http://downloads.xtream-codes.com/v2/GeoLite2.mmdb" -O "' . GEOIP2_FILENAME . '" -q 2>/dev/null');
goto label20;
label375:
goto label435;
label376:
$E747328102236137f1cbe650c295e4a8 = intval(shell_exec('/usr/bin/free -tk | grep -i Mem: | awk \'{print $2}\''));
goto label331;
label384:
shell_exec(PHP_BIN . ' ' . IPTV_PANEL_DIR . 'tools/watchdog_data.php > /dev/null 2>/dev/null &');
goto label101;
label393:
goto label270;
label394:
$c01d5077f34dc0ef046a6efa9e8e24f4 = round((($e54a6ff3afc52767cdd38f62ab4c38d1 - $b10021b298f7d4ce2f8e80315325fa1a) / 1024) * 0.0078125, 2);
goto label25;
label403:
$b1e6fdf64c397fe6d855488ade08962a = shell_exec('ps ax | grep -v grep | grep ffmpeg | grep -c ' . FFMPEG_PATH);
goto label414;
label410:
BBD9e78Ac32626E138E758E840305A7c($Ed756578679cd59095dfa81f228e8b38);
goto label63;
label414:
$b491382721126ed130f32155d616b806 = ['total_ram' => $E747328102236137f1cbe650c295e4a8, 'total_used' => $ce5ef88878670c9526bfdfab8267f916, 'cores' => $Beead58eb65f6a16b84a5d7f85a2dbd0, 'threads' => $e8e405eb735fdd81a223c0a28cff7f7e, 'kernel' => trim(shell_exec('uname -r')), 'total_running_streams' => $b1e6fdf64c397fe6d855488ade08962a, 'cpu_name' => $c447e2c8da4eb35e33ad00d1171c001d, 'cpu_usage' => (int) $f7d72ebd2d5da7acdd31cff803526ba4 / $e8e405eb735fdd81a223c0a28cff7f7e, 'network_speed' => $b35a2cc5b2ffb4acd1cf6b8b08ee4f43, 'bytes_sent' => $c01d5077f34dc0ef046a6efa9e8e24f4, 'bytes_received' => $B5490c2f61c894c091e04441954a0f09];
goto label1;
label435:
@unlink($Ed756578679cd59095dfa81f228e8b38);
?>
Did this file decode correctly?
Original Code
<?php
/**
*
* @ This file is created by http://DeZender.Net
* @ deZender (PHP7 Decoder for ionCube Encoder)
*
* @ Version : 4.1.0.1
* @ Author : DeZender
* @ Release on : 29.08.2020
* @ Official site : http://DeZender.Net
*
*/
goto label350;
label1:
$A752e3fbe7ed63f10be97634c544dc8f = array_values(array_unique(array_map('trim', explode("\n", shell_exec('ip -4 addr | grep -oP \'(?<=inet\\s)\\d+(\\.\\d+){3}\'')))));
goto label226;
label20:
touch(GEOIP2_FILENAME);
goto label375;
label25:
$B5490c2f61c894c091e04441954a0f09 = round((($d1a978924624c41845605404ded7e846 - $C5b51b10f98c22fb985e90c23eade263) / 1024) * 0.0078125, 2);
goto label197;
label34:
$E747328102236137f1cbe650c295e4a8 = intval(shell_exec('/usr/bin/free -tk | grep -i Mem: | awk \'{print $2}\''));
goto label74;
label42:
$c01d5077f34dc0ef046a6efa9e8e24f4 = $B5490c2f61c894c091e04441954a0f09 = $b35a2cc5b2ffb4acd1cf6b8b08ee4f43 = NULL;
goto label356;
label46:
goto label139;
label47:
goto label286;
label48:
$d1a978924624c41845605404ded7e846 = trim(file_get_contents('/sys/class/net/' . $d0d324f3dbb8bbc5fff56e8a848beb7a . '/statistics/rx_bytes'));
goto label394;
label59:
sleep(1);
goto label148;
label63:
$C6d911124d37d84aae02dbbd27390026 = intval(trim(shell_exec('ps aux | grep signal_receiver | grep -v grep | wc -l')));
goto label159;
label74:
$ce5ef88878670c9526bfdfab8267f916 = $E747328102236137f1cbe650c295e4a8 - intval(shell_exec('/usr/bin/free -tk | grep -i Mem: | awk \'{print $7}\''));
goto label340;
label83:
exit(0);
goto label47;
label85:
shell_exec(PHP_BIN . ' ' . IPTV_PANEL_DIR . 'tools/pipe_reader.php > /dev/null 2>/dev/null &');
goto label260;
label94:
if (file_exists(ENIGMA2_PLUGIN_DIR)) {
goto label46;
}
goto label188;
label101:
goto label253;
label102:
shell_exec(PHP_BIN . ' ' . IPTV_PANEL_DIR . 'tools/signal_receiver.php > /dev/null 2>/dev/null &');
goto label393;
label111:
$d0d324f3dbb8bbc5fff56e8a848beb7a = a78BF8D35765BE2408C50712cE7a43Ad::$StreamingServers[SERVER_ID]['network_interface'];
goto label42;
label117:
$b10021b298f7d4ce2f8e80315325fa1a = trim(file_get_contents('/sys/class/net/' . $d0d324f3dbb8bbc5fff56e8a848beb7a . '/statistics/tx_bytes'));
goto label164;
label128:
$C6788cc6a7dc5e43413102489972862e = intval(trim(shell_exec('ps aux | grep watchdog_data | grep -v grep | wc -l')));
goto label281;
label139:
$b05334022f117f99e07e10e7120b3707 = (int) trim(shell_exec('free | grep -c available'));
goto label193;
label148:
$e54a6ff3afc52767cdd38f62ab4c38d1 = trim(file_get_contents('/sys/class/net/' . $d0d324f3dbb8bbc5fff56e8a848beb7a . '/statistics/tx_bytes'));
goto label48;
label159:
if (!($C6d911124d37d84aae02dbbd27390026 == 0)) {
goto label393;
}
goto label102;
label164:
$C5b51b10f98c22fb985e90c23eade263 = trim(file_get_contents('/sys/class/net/' . $d0d324f3dbb8bbc5fff56e8a848beb7a . '/statistics/rx_bytes'));
goto label59;
label175:
$c447e2c8da4eb35e33ad00d1171c001d = trim(shell_exec('cat /proc/cpuinfo | grep \'model name\' | uniq | awk -F: \'{print $2}\''));
goto label240;
label183:
if (!($ad4bdb9efb0d9470d5540d122b892978 == 0)) {
goto label260;
}
goto label85;
label188:
mkdir(ENIGMA2_PLUGIN_DIR);
goto label46;
label193:
if ($b05334022f117f99e07e10e7120b3707 == 0) {
goto label198;
}
goto label34;
label197:
goto label403;
label198:
goto label376;
label199:
$Beead58eb65f6a16b84a5d7f85a2dbd0 = intval(shell_exec('lscpu | awk -F " : " \'/Core/ { c=$2; }; /Socket/ { print c*$2 }\' '));
goto label342;
label207:
if (!(!file_exists(GEOIP2_FILENAME) || (86400 <= time() - filemtime(GEOIP2_FILENAME)))) {
goto label375;
}
goto label368;
label226:
$f566700a43ee8e1f0412fe10fbdf03df->query('UPDATE `streaming_servers` SET `server_hardware` = \'%s\',`whitelist_ips` = \'%s\' WHERE `id` = \'%d\'', json_encode($b491382721126ed130f32155d616b806), json_encode($A752e3fbe7ed63f10be97634c544dc8f), SERVER_ID);
goto label207;
label240:
$f7d72ebd2d5da7acdd31cff803526ba4 = intval(shell_exec('ps aux|awk \'NR > 0 { s +=$3 }; END {print s}\''));
goto label111;
label248:
mkdir(MOVIES_IMAGES);
goto label329;
label253:
if (file_exists(MOVIES_IMAGES)) {
goto label329;
}
goto label248;
label260:
goto label313;
label261:
shell_exec(PHP_BIN . ' ' . IPTV_PANEL_DIR . 'tools/panel_monitor.php > /dev/null 2>/dev/null &');
goto label328;
label270:
$ad4bdb9efb0d9470d5540d122b892978 = intval(trim(shell_exec('ps aux | grep pipe_reader | grep -v grep | wc -l')));
goto label183;
label281:
if (!($C6788cc6a7dc5e43413102489972862e == 0)) {
goto label101;
}
goto label384;
label286:
require str_replace('\\', '/', dirname($argv[0])) . '/../wwwdir/init.php';
goto label324;
label298:
$Ed756578679cd59095dfa81f228e8b38 = TMP_DIR . md5(AFFb052ccA396818D81004ff99db49aA() . __FILE__);
goto label410;
label308:
if (!($E8f9dea3c6b73e7af883fbd526c728b7 == 0)) {
goto label328;
}
goto label261;
label313:
$E8f9dea3c6b73e7af883fbd526c728b7 = intval(trim(shell_exec('ps aux | grep panel_monitor | grep -v grep | wc -l')));
goto label308;
label324:
cli_set_process_title('XtreamCodes[Server Checker]');
goto label298;
label328:
goto label128;
label329:
goto label94;
label330:
goto label199;
label331:
$ce5ef88878670c9526bfdfab8267f916 = $E747328102236137f1cbe650c295e4a8 - intval(shell_exec('/usr/bin/free -tk | grep -i Mem: | awk \'{print $4+$6+$7}\''));
goto label330;
label340:
goto label330;
goto label198;
label342:
$e8e405eb735fdd81a223c0a28cff7f7e = intval(shell_exec('grep --count ^processor /proc/cpuinfo'));
goto label175;
label350:
if (@$argc) {
goto label47;
}
goto label83;
label356:
if (empty($d0d324f3dbb8bbc5fff56e8a848beb7a)) {
goto label197;
}
goto label360;
label360:
$b35a2cc5b2ffb4acd1cf6b8b08ee4f43 = file_get_contents('/sys/class/net/' . $d0d324f3dbb8bbc5fff56e8a848beb7a . '/speed');
goto label117;
label368:
passthru('wget --no-check-certificate --user-agent "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0" --timeout=40 "http://downloads.xtream-codes.com/v2/GeoLite2.mmdb" -O "' . GEOIP2_FILENAME . '" -q 2>/dev/null');
goto label20;
label375:
goto label435;
label376:
$E747328102236137f1cbe650c295e4a8 = intval(shell_exec('/usr/bin/free -tk | grep -i Mem: | awk \'{print $2}\''));
goto label331;
label384:
shell_exec(PHP_BIN . ' ' . IPTV_PANEL_DIR . 'tools/watchdog_data.php > /dev/null 2>/dev/null &');
goto label101;
label393:
goto label270;
label394:
$c01d5077f34dc0ef046a6efa9e8e24f4 = round((($e54a6ff3afc52767cdd38f62ab4c38d1 - $b10021b298f7d4ce2f8e80315325fa1a) / 1024) * 0.0078125, 2);
goto label25;
label403:
$b1e6fdf64c397fe6d855488ade08962a = shell_exec('ps ax | grep -v grep | grep ffmpeg | grep -c ' . FFMPEG_PATH);
goto label414;
label410:
BBD9e78Ac32626E138E758E840305A7c($Ed756578679cd59095dfa81f228e8b38);
goto label63;
label414:
$b491382721126ed130f32155d616b806 = ['total_ram' => $E747328102236137f1cbe650c295e4a8, 'total_used' => $ce5ef88878670c9526bfdfab8267f916, 'cores' => $Beead58eb65f6a16b84a5d7f85a2dbd0, 'threads' => $e8e405eb735fdd81a223c0a28cff7f7e, 'kernel' => trim(shell_exec('uname -r')), 'total_running_streams' => $b1e6fdf64c397fe6d855488ade08962a, 'cpu_name' => $c447e2c8da4eb35e33ad00d1171c001d, 'cpu_usage' => (int) $f7d72ebd2d5da7acdd31cff803526ba4 / $e8e405eb735fdd81a223c0a28cff7f7e, 'network_speed' => $b35a2cc5b2ffb4acd1cf6b8b08ee4f43, 'bytes_sent' => $c01d5077f34dc0ef046a6efa9e8e24f4, 'bytes_received' => $B5490c2f61c894c091e04441954a0f09];
goto label1;
label435:
@unlink($Ed756578679cd59095dfa81f228e8b38);
?>
Function Calls
None |
Stats
MD5 | 7badc40c4c07c25572b20685144e0674 |
Eval Count | 0 |
Decode Time | 51 ms |