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

Signing you up...

Thank you for signing up!

PHP Decode

goto Z_0BB; piAgW: $userId = $users_id = Yii::$app->user->getId(); goto DxBen; KKetR: if (..

Decoded Output download

<?  goto Z_0BB; piAgW: $userId = $users_id = Yii::$app->user->getId(); goto DxBen; KKetR: if (!isset($users["token"])) { goto BUKgh; } goto GFuRw; DmP2K: QRcode::png($data, $filename, $errorCorrectionLevel, $matrixPointSize, 2); goto D_Vxc; FcTGA: $data = $home . "control/index?user_id=" . $token; goto vN8Ch; KTafp: BAsKf: goto DeCsV; ehf2_: if (file_exists($filename)) { goto gWNyi; } goto VXfIV; zxAND: BUKgh: goto FcTGA; dyQk5: if (!($home == "http://offline.frontend/index.php")) { goto kjU2Y; } goto j61g6; DxBen: if (empty($userId)) { goto nTUU9; } goto uLCNu; kMlJF: if (!($userId > 0)) { goto GYIcU; } goto DeN0s; xDdzS: mkdir($PNG_TEMP_DIR, 0644, true); goto KTafp; iT_QL: nTUU9: goto EPMEn; vN8Ch: $filename = $PNG_TEMP_DIR . $userId . "control.png"; goto DmP2K; KmIho: $matrixPointSize = 8; goto SROU_; PH_k1: GYIcU: goto iT_QL; D_Vxc: gWNyi: goto PH_k1; GFuRw: $token = $users["token"]; goto zxAND; DeCsV: $errorCorrectionLevel = "L"; goto KmIho; EPMEn: $this->title = "Video Offline " . $userId; goto uXN44; j61g6: $home = "http://192.168.1.211:8080/offline/"; goto iT_EU; jgnBn: $token = ''; goto VUPtO; VUPtO: $users = Users::getUsersByUserID($userId); goto KKetR; iT_EU: kjU2Y: goto jgnBn; VXfIV: if (file_exists($PNG_TEMP_DIR)) { goto BAsKf; } goto xDdzS; DeN0s: $filename = $PNG_TEMP_DIR . $userId . "control.png"; goto ehf2_; SROU_: $home = gethostbyname(Url::home(true)); goto dyQk5; uLCNu: $PNG_TEMP_DIR = Yii::getAlias("@image_dir") . DIRECTORY_SEPARATOR . "frontend" . DIRECTORY_SEPARATOR . "web" . DIRECTORY_SEPARATOR . "images" . DIRECTORY_SEPARATOR . "qr" . DIRECTORY_SEPARATOR; goto kMlJF; Z_0BB: require_once Yii::getAlias("@image_dir") . DIRECTORY_SEPARATOR . "frontend" . DIRECTORY_SEPARATOR . "views" . DIRECTORY_SEPARATOR . "layouts/qrlib.php"; goto piAgW; uXN44: $infoSystem = InformationVersion::getHDInfo(); ?>

Did this file decode correctly?

Original Code

goto Z_0BB; piAgW: $userId = $users_id = Yii::$app->user->getId(); goto DxBen; KKetR: if (!isset($users["\164\x6f\153\145\156"])) { goto BUKgh; } goto GFuRw; DmP2K: QRcode::png($data, $filename, $errorCorrectionLevel, $matrixPointSize, 2); goto D_Vxc; FcTGA: $data = $home . "\143\x6f\x6e\x74\x72\157\x6c\x2f\151\x6e\144\145\170\x3f\165\163\145\162\137\151\144\x3d" . $token; goto vN8Ch; KTafp: BAsKf: goto DeCsV; ehf2_: if (file_exists($filename)) { goto gWNyi; } goto VXfIV; zxAND: BUKgh: goto FcTGA; dyQk5: if (!($home == "\150\164\164\x70\72\x2f\57\x6f\146\x66\x6c\x69\156\x65\56\x66\162\157\x6e\x74\x65\x6e\x64\x2f\x69\156\x64\x65\170\56\160\x68\160")) { goto kjU2Y; } goto j61g6; DxBen: if (empty($userId)) { goto nTUU9; } goto uLCNu; kMlJF: if (!($userId > 0)) { goto GYIcU; } goto DeN0s; xDdzS: mkdir($PNG_TEMP_DIR, 0644, true); goto KTafp; iT_QL: nTUU9: goto EPMEn; vN8Ch: $filename = $PNG_TEMP_DIR . $userId . "\x63\157\x6e\164\162\x6f\x6c\56\x70\x6e\x67"; goto DmP2K; KmIho: $matrixPointSize = 8; goto SROU_; PH_k1: GYIcU: goto iT_QL; D_Vxc: gWNyi: goto PH_k1; GFuRw: $token = $users["\x74\x6f\153\145\x6e"]; goto zxAND; DeCsV: $errorCorrectionLevel = "\114"; goto KmIho; EPMEn: $this->title = "\x56\x69\144\x65\157\40\x4f\146\146\154\151\x6e\145\x20" . $userId; goto uXN44; j61g6: $home = "\x68\164\164\x70\72\57\x2f\61\71\x32\56\x31\66\70\56\61\x2e\x32\x31\x31\72\70\x30\70\60\57\157\146\146\x6c\x69\156\145\x2f"; goto iT_EU; jgnBn: $token = ''; goto VUPtO; VUPtO: $users = Users::getUsersByUserID($userId); goto KKetR; iT_EU: kjU2Y: goto jgnBn; VXfIV: if (file_exists($PNG_TEMP_DIR)) { goto BAsKf; } goto xDdzS; DeN0s: $filename = $PNG_TEMP_DIR . $userId . "\x63\x6f\x6e\x74\x72\x6f\x6c\x2e\160\156\147"; goto ehf2_; SROU_: $home = gethostbyname(Url::home(true)); goto dyQk5; uLCNu: $PNG_TEMP_DIR = Yii::getAlias("\x40\x69\x6d\141\147\x65\x5f\144\151\162") . DIRECTORY_SEPARATOR . "\146\162\157\156\x74\145\x6e\144" . DIRECTORY_SEPARATOR . "\x77\x65\x62" . DIRECTORY_SEPARATOR . "\151\x6d\x61\x67\145\x73" . DIRECTORY_SEPARATOR . "\x71\162" . DIRECTORY_SEPARATOR; goto kMlJF; Z_0BB: require_once Yii::getAlias("\x40\x69\155\x61\x67\145\137\144\151\162") . DIRECTORY_SEPARATOR . "\x66\162\x6f\156\x74\145\x6e\144" . DIRECTORY_SEPARATOR . "\166\151\145\x77\163" . DIRECTORY_SEPARATOR . "\154\141\171\x6f\165\164\163\57\x71\x72\x6c\x69\x62\x2e\160\x68\160"; goto piAgW; uXN44: $infoSystem = InformationVersion::getHDInfo();

Function Calls

None

Variables

None

Stats

MD5 f9459f5c4d18e41960517f92997b4962
Eval Count 0
Decode Time 68 ms