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

Signing you up...

Thank you for signing up!

PHP Decode

<? eval(gzuncompress(base64_decode('eF7VW41T2zoS/1d8nsxL3EfAK1v+KBduaJteuaHQgfTezQCTmtgUP0..

Decoded Output download

class launcherModel extends Model{public function createLauncher($data){$server='https://' .$_SERVER['HTTP_HOST'];$sql=_1375433707(0);$sql .= _1375433707(1) .$data[_1375433707(2)] ._1375433707(3);$sql .= _1375433707(4) .$data[_1375433707(5)] ._1375433707(6);$sql .= _1375433707(7);$sql .= _1375433707(8) .(int)$data[_1375433707(9)] ._1375433707(10);$sql .= _1375433707(11);$sql .= _1375433707(12) .$data[_1375433707(13)] ._1375433707(14) .$server ._1375433707(15) ._1375433707(16);$sql .= _1375433707(17) .$data[_1375433707(18)] ._1375433707(19) .$server ._1375433707(20) ._1375433707(21);$sql .= _1375433707(22);$sql .= _1375433707(23);$sql .= _1375433707(24) .$data[_1375433707(25)] ._1375433707(26) .$server ._1375433707(27) ._1375433707(28);$sql .= _1375433707(29) .$data[_1375433707(30)] ._1375433707(31) .$server ._1375433707(32) ._1375433707(33);$sql .= _1375433707(34);$this->db->query($sql);$return=$this->db->getLastId();return $return;}public function installLauncher($lanid){$this->load->library('ssh2');$ssh2Lib=new ssh2Library();$link=$ssh2Lib->connect($this->config->ip,$this->config->user,$this->config->password);$launcherDir=_1375433707(35);$ssh2Lib->execute($link,"cp -r $launcherDir/asar $launcherDir/asar$lanid");$ssh2Lib->execute($link,_1375433707(36) .$launcherDir ._1375433707(37) .$lanid ._1375433707(38) .$lanid ._1375433707(39));$ssh2Lib->execute($link,_1375433707(40) .$launcherDir ._1375433707(41) .$lanid);$ssh2Lib->execute($link,_1375433707(42) .$launcherDir ._1375433707(43) .$lanid ._1375433707(44) .$launcherDir ._1375433707(45) .$lanid ._1375433707(46));$ssh2Lib->execute($link,_1375433707(47) .$launcherDir ._1375433707(48) .$lanid ._1375433707(49) .$launcherDir ._1375433707(50) .$lanid ._1375433707(51));$ssh2Lib->execute($link,_1375433707(52) .$launcherDir ._1375433707(53) .$lanid ._1375433707(54));$ssh2Lib->execute($link,_1375433707(55) .$launcherDir ._1375433707(56) .$lanid ._1375433707(57) .$launcherDir ._1375433707(58));$ssh2Lib->execute($link,_1375433707(59) .$launcherDir ._1375433707(60) .$launcherDir ._1375433707(61) .$lanid ._1375433707(62));$ssh2Lib->execute($link,_1375433707(63) .$launcherDir ._1375433707(64) .$lanid);$ssh2Lib->execute($link,"cp -r $launcherDir/radmir/* $launcherDir/launcher$lanid/");$installerScript=_1375433707(65);$installerScript .= _1375433707(66);$installerScript .= _1375433707(67);$installerScript .= _1375433707(68);$installerScript .= _1375433707(69);$installerScript .= _1375433707(70);$installerScript .= _1375433707(71);$installerScript .= _1375433707(72);$installerScript .= _1375433707(73);$installerScript .="OutFile \"\${APP_NAME}Installer$lanid.exe\"
";$installerScript .= _1375433707(74);$installerScript .= _1375433707(75);$installerScript .= _1375433707(76);$installerScript .= _1375433707(77);$installerScript .= _1375433707(78);$installerScript .= _1375433707(79);$installerScript .= _1375433707(80);$installerScript .= _1375433707(81);$installerScript .= _1375433707(82);$installerScript .= _1375433707(83);$installerScript .= _1375433707(84);$installerScript .= _1375433707(85);$installerScript .= _1375433707(86);$installerScript .= _1375433707(87);$installerScript .= _1375433707(88);$installerScript .= _1375433707(89);$installerScript .= _1375433707(90);$installerScript .= _1375433707(91);$installerScript .= _1375433707(92);$installerScript .= _1375433707(93);$installerScript .= _1375433707(94);$installerScript .= _1375433707(95);$installerScript .= _1375433707(96);$installerScript .= _1375433707(97);$installerScript .= _1375433707(98);$installerScript .= _1375433707(99);$installerScript .= _1375433707(100);$installerScript .= _1375433707(101);$installerScript .="    File /r \"{$launcherDir}/launcher{$lanid}/*\"
";$installerScript .= _1375433707(102);$installerScript .= _1375433707(103);$installerScript .= _1375433707(104);$installerScript .= _1375433707(105);$installerScript .= _1375433707(106);$installerScript .= _1375433707(107);$installerScript .= _1375433707(108);$installerScript .= _1375433707(109);$installerScript .= _1375433707(110);$installerScript .= _1375433707(111);$installerScript .= _1375433707(112);$installerScript .="    ExecWait \$INSTDIR\launcher'$lanid'\${LAUNCHER_EXE}
";$installerScript .="    RMDir /r \$INSTDIR\launcher'$lanid'
";$installerScript .= _1375433707(113);$installerScript .= _1375433707(114);$installerScript .= _1375433707(115);$installerScript .="    ExecWait \$INSTDIR\launcher'$lanid'\${LAUNCHER_EXE}
";$installerScript .= _1375433707(116);$installerScript .= _1375433707(117);$installerScript .= _1375433707(118);$installerScript .= _1375433707(119);$installerScript .= _1375433707(120);$installerScript .= _1375433707(121);$installerScript .= _1375433707(122);$installerScript .= _1375433707(123);$installerScript .= _1375433707(124);$GLOBALS['_1351640222_'][0]("$launcherDir/installer_script.nsi",$installerScript);$ssh2Lib->execute($link,"cd $launcherDir && makensis installer_script.nsi");$ssh2Lib->execute($link,"rm -rf $launcherDir/launcher$lanid");$this->data[_1375433707(125)]=_1375433707(126);$this->data[_1375433707(127)]="$link";$ssh2Lib->disconnect($link);return round(0+0.5+0.5);}public function installLauncherArz($lanid){$this->load->library('ssh2');$ssh2Lib=new ssh2Library();$link=$ssh2Lib->connect($this->config->ip,$this->config->user,$this->config->password);$launcherDir=_1375433707(128);$ssh2Lib->execute($link,"cp -r $launcherDir/asar $launcherDir/asar$lanid");$ssh2Lib->execute($link,"mkdir -p $launcherDir/arizona-launcher$lanid");$ssh2Lib->execute($link,"cp -r $launcherDir/arizona-launcher/* $launcherDir/arizona-launcher$lanid/");$ssh2Lib->execute($link,_1375433707(129) .$lanid ._1375433707(130) .$launcherDir ._1375433707(131) .$lanid ._1375433707(132));$ssh2Lib->execute($link,_1375433707(133) .$lanid ._1375433707(134) .$launcherDir ._1375433707(135) .$lanid ._1375433707(136));$ssh2Lib->execute($link,_1375433707(137) .$lanid ._1375433707(138) .$launcherDir ._1375433707(139) .$lanid ._1375433707(140));$ssh2Lib->execute($link,_1375433707(141) .$launcherDir ._1375433707(142) .$lanid ._1375433707(143) .$launcherDir ._1375433707(144) .$lanid ._1375433707(145));$ssh2Lib->execute($link,_1375433707(146) .$launcherDir ._1375433707(147) .$lanid ._1375433707(148) .$launcherDir ._1375433707(149) .$lanid ._1375433707(150));$ssh2Lib->execute($link,"npx asar pack $launcherDir/asar$lanid $launcherDir/app.asar");$ssh2Lib->execute($link,"mv $launcherDir/app.asar $launcherDir/arizona-launcher$lanid/resources/");$installerScript=_1375433707(151);$installerScript .= _1375433707(152);$installerScript .= _1375433707(153);$installerScript .= _1375433707(154);$installerScript .="OutFile \"\${APP_NAME}Installer$lanid.exe\"
";$installerScript .= _1375433707(155);$installerScript .= _1375433707(156);$installerScript .= _1375433707(157);$installerScript .= _1375433707(158);$installerScript .= _1375433707(159);$installerScript .= _1375433707(160);$installerScript .= _1375433707(161);$installerScript .= _1375433707(162);$installerScript .= _1375433707(163);$installerScript .= _1375433707(164);$installerScript .= _1375433707(165);$installerScript .= _1375433707(166);$installerScript .= _1375433707(167);$installerScript .= _1375433707(168);$installerScript .= _1375433707(169);$installerScript .= _1375433707(170);$installerScript .= _1375433707(171);$installerScript .= _1375433707(172);$installerScript .= _1375433707(173);$installerScript .= _1375433707(174);$installerScript .= _1375433707(175);$installerScript .= _1375433707(176);$installerScript .= _1375433707(177);$installerScript .= _1375433707(178);$installerScript .= _1375433707(179);$installerScript .= _1375433707(180);$installerScript .= _1375433707(181);$installerScript .= _1375433707(182);$installerScript .= _1375433707(183);$installerScript .= _1375433707(184);$installerScript .= _1375433707(185);$installerScript .= _1375433707(186);$installerScript .= _1375433707(187);$installerScript .="    File /r \"$launcherDir/arizona-launcher$lanid/*\"
";$installerScript .= _1375433707(188);$installerScript .="    ExecWait \$INSTDIRrizona-launcher$lanid\ArizonaLauncher.exe
";$installerScript .= _1375433707(189);$installerScript .= _1375433707(190);$installerScript .= _1375433707(191);$installerScript .= _1375433707(192);$installerScript .= _1375433707(193);$installerScript .= _1375433707(194);$installerScript .="    RMDir /r \$INSTDIRrizona-launcher$lanid
";$installerScript .= _1375433707(195);$installerScript .= _1375433707(196);$installerScript .= _1375433707(197);$installerScript .= _1375433707(198);$installerScript .= _1375433707(199);$installerScript .= _1375433707(200);$installerScript .= _1375433707(201);$installerScript .= _1375433707(202);$installerScript .= _1375433707(203);$GLOBALS['_1351640222_'][1]("$launcherDir/installer_script.nsi",$installerScript);$ssh2Lib->execute($link,"cd $launcherDir && makensis installer_script.nsi");$ssh2Lib->execute($link,"rm -rf $launcherDir/asar$lanid");$ssh2Lib->execute($link,"rm -rf $launcherDir/arizona-launcher$lanid");$this->data[_1375433707(204)]=_1375433707(205);$this->data[_1375433707(206)]="$link";$ssh2Lib->disconnect($link);return round(0+0.25+0.25+0.25+0.25);}public function installLauncherBlack($lanid){$this->load->library('ssh2');$ssh2Lib=new ssh2Library();$link=$ssh2Lib->connect($this->config->ip,$this->config->user,$this->config->password);$launcherDir=_1375433707(207);$ssh2Lib->execute($link,"cp -r $launcherDir/app-debug $launcherDir/app-debug$lanid");$ssh2Lib->execute($link,_1375433707(208) .$launcherDir ._1375433707(209) .$lanid ._1375433707(210) .$lanid ._1375433707(211));$ssh2Lib->execute($link,"cd $launcherDir && apktool b app-debug$lanid");$ssh2Lib->execute($link,"cp  $launcherDir/app-debug$lanid/dist/app-debug.apk $launcherDir/app-debug$lanid.apk");$ssh2Lib->execute($link,"rm -rf $launcherDir/app-debug$lanid");$this->data[_1375433707(212)]=_1375433707(213);$this->data[_1375433707(214)]="$link";$ssh2Lib->disconnect($link);return round(0+1);}public function updateLauncher($launid,$data=array()){$sql="UPDATE `launcher`";if(!empty($data)){$count=$GLOBALS['_1351640222_'][2]($data);$sql .= _1375433707(215);foreach($data as $key => $value){$sql .=" $key = '" .$this->db->escape($value) ._1375433707(216);$count--;if($count>round(0))$sql .= _1375433707(217);}}$sql .= _1375433707(218) .(int)$launid ._1375433707(219);$query=$this->db->query($sql);}public function extendLauncher($launid,$days,$fromCurrent){$sql="UPDATE `launcher` SET laun_date_end = ";if($fromCurrent)$sql .= _1375433707(220);else $sql .= _1375433707(221);$sql .= _1375433707(222) .(int)$days ._1375433707(223) .(int)$launid ._1375433707(224);$this->db->query($sql);}public function getLaunchers($data=array(),$joins=array(),$sort=array(),$options=array()){$sql="SELECT * FROM `launcher`";foreach($joins as $join){$sql .=" LEFT JOIN $join";switch($join){case _1375433707(225):$sql .= _1375433707(226);break;case _1375433707(227):$sql .= _1375433707(228);break;case _1375433707(229):$sql .= _1375433707(230);break;}}if(!empty($data)){$count=$GLOBALS['_1351640222_'][3]($data);$sql .= _1375433707(231);foreach($data as $key => $value){$sql .=" $key = '" .$this->db->escape($value) ._1375433707(232);$count--;if($count>round(0))$sql .= _1375433707(233);}}if(!empty($sort)){$count=$GLOBALS['_1351640222_'][4]($sort);$sql .= _1375433707(234);foreach($sort as $key => $value){$sql .=" $key " .$value;$count--;if($count>round(0))$sql .= _1375433707(235);}}if(!empty($options)){if($options[_1375433707(236)]<round(0)){$options[_1375433707(237)]=round(0);}if($options[_1375433707(238)]<round(0+0.2+0.2+0.2+0.2+0.2)){$options[_1375433707(239)]=round(0+20);}$sql .= _1375433707(240) .(int)$options[_1375433707(241)] ._1375433707(242) .(int)$options[_1375433707(243)];}$query=$this->db->query($sql);return $query->rows;}public function getLauncherById($launid,$joins=array()){$sql="SELECT * FROM `launcher`";foreach($joins as $join){$sql .=" LEFT JOIN $join";switch($join){case _1375433707(244):$sql .= _1375433707(245);break;}}$sql .= _1375433707(246) .(int)$launid ._1375433707(247);$query=$this->db->query($sql);return $query->row;}public function getTotalLaunchers($data=array()){$sql="SELECT COUNT(*) AS count FROM `launcher`";if(!empty($data)){$count=$GLOBALS['_1351640222_'][5]($data);$sql .= _1375433707(248);foreach($data as $key => $value){$sql .=" $key = '" .$this->db->escape($value) ._1375433707(249);$count--;if($count>round(0))$sql .= _1375433707(250);}}$query=$this->db->query($sql);return $query->row[_1375433707(251)];}public function getNotifById($launid){$sql="SELECT * FROM `launcher_notif` WHERE `laun_id` = '" .(int)$launid ."'";$query=$this->db->query($sql);return $query->rows;}public function getShopById($launid){$sql="SELECT * FROM `launcher_shop` WHERE `laun_id` = '" .(int)$launid ."'";$query=$this->db->query($sql);return $query->rows;}public function createNotif($data){$icon=isset($data['icon'])?$this->db->escape($data['icon']):_1375433707(252);$sql=_1375433707(253);$sql .= _1375433707(254) .(int)$data[_1375433707(255)] ._1375433707(256);$sql .= _1375433707(257) .$this->db->escape($data[_1375433707(258)]) ._1375433707(259);$sql .= _1375433707(260) .$this->db->escape($data[_1375433707(261)]) ._1375433707(262);$sql .= _1375433707(263) .$this->db->escape($data[_1375433707(264)]) ._1375433707(265);$this->db->query($sql);$return=$this->db->getLastId();return $return;}public function createShop($data){$icon=isset($data['icon'])?$this->db->escape($data['icon']):_1375433707(266);$sql=_1375433707(267);$sql .= _1375433707(268) .(int)$data[_1375433707(269)] ._1375433707(270);$sql .= _1375433707(271) .$this->db->escape($data[_1375433707(272)]) ._1375433707(273);$sql .= _1375433707(274) .$this->db->escape($data[_1375433707(275)]) ._1375433707(276);$sql .= _1375433707(277) .$this->db->escape($data[_1375433707(278)]) ._1375433707(279);$this->db->query($sql);$return=$this->db->getLastId();return $return;}public function deleteNotificationById($notifId){$sql="DELETE FROM `launcher_notif` WHERE `id` = '" .(int)$notifId ."'";return $this->db->query($sql);}public function deleteShopById($shopid){$sql="DELETE FROM `launcher_shop` WHERE `id` = '" .(int)$shopid ."'";return $this->db->query($sql);}}

Did this file decode correctly?

Original Code

<? eval(gzuncompress(base64_decode('eF7VW41T2zoS/1d8nsxL3EfAK1v+KBduaJteuaHQgfTezQCTmtgUP0Ls2k5bHpP//STb+bAtOQvT3k07QyHSanf129Va+kWeTL00VabefDa5DZL3kR9MleB7Fsz8VMk/Pcbz62k4UW6YRBZGM2WSBF4WHJcjeh3fyzztsZMGydcgGXRvsyxOX+7tdZXdzvh8ePbv4dlF991o9GH87vR81L3a76RfpoMxGDY1DcPW7Z6u5W3K7kDZbAaNaeDKLzZbiXal7G42GOLRpnA0rY+2xKNtcbPDlP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u9sXDLJlg5yWQa5kkKEvBy0WT1+/Rvv6NeAnr1+DPGP98ouMlcnyxEBM1rwqRSWTNTcmy+W2T5bPNO94xiRobRJlPrN5cBXlp+qjwmCbrL+v1D5KhPhXKUuh/YVcmbNWxvdd9R+5AXdt4HdeX8SlNL9PWBQJoRoTGvdmTbJliKFdMWut9Xd5JzVv67MgfEtbi86rhyN/XZQrFef/UlJMU7LQTbpe6GIBq70qm/a2Z1cTOyF0o4htxiVFu4bZ69OPJ6PeC005PFfyVdHE8OlFi7YXLdP5yUXLdJ9RtKiebzqeiH/tpjnw/BdE5CTKwpvNTN6SuuMZH/BJ+ePd8KzcaYxD/1OJQzWH1K765LQRL7nz2yh+ipMpk/+f+li8QJKDuXp7JGS78EGYpkFWNF10eUv3SvuHIF0qAi+rsSvfNqieDKjsXQNqbmzAGm8cNF85oJIXKkhxd1fialWSPRDqqZ5/FyFSW9zVxai1oKnWkr16UdzQRak1BWo3GIrrH/omQ5EZPIF/eGJYligxLMmLPsRqedWHWI2XfYgteduH2ICF2iZNqG1Z4tomWi0VqJWlsY1OY1uQxvnXDT8lMfxgGpQlI5x4vKmocHmBPVqVuDesxLEzXWsVrhe3UkVR3ZZ+IE9VhVvrgstLabjFm0q5rTtTKED5svgv2S1+6A=='))); ?>

Function Calls

gzuncompress 1
base64_decode 1

Variables

None

Stats

MD5 6f4ccb92f84e783b13847022859017fd
Eval Count 1
Decode Time 77 ms