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 /* Dev By Hoang Skyht 18-06-2024 */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72..

Decoded Output download

$O000O0O00=$OOO000O00($OOO0O0O00,'rb');$O0O00OO00($O000O0O00,0x49f);$OO00O00O0=$OOO0000O0($OOO00000O($O0O00OO00($O000O0O00,0x17c),'EnteryouwkhRHYKNWOUTAaBbCcDdFfGgIiJjLlMmPpQqSsVvXxZz0123456789+/=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'));eval($OO00O00O0);$OO00O00O0=str_replace('__FILE__',"'".$OOO0O0O00."'",$OOO0000O0($OOO00000O($O0O00OO00($O000O0O00,$OO00O0000),'EnteryouwkhRHYKNWOUTAaBbCcDdFfGgIiJjLlMmPpQqSsVvXxZz0123456789+/=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')));fclose($O000O0O00);eval($OO00O00O0);
namespace App\Console\Commands;
use App\Jobs\OrderHandleJob;
use App\Models\Order;
use Illuminate\Console\Command;
class CheckOrder extends Command
{
protected $signature = 'check:order';
protected $description = '';
public function __construct()
{
parent::__construct();
}
public function handle()
{
$orders = Order::whereIn(Order::FIELD_STATUS,[Order::STATUS_UNPAID,Order::STATUS_PENDING])->get();
foreach ($orders as $order) {
OrderHandleJob::dispatch($order);
}
$this->info("orders count: ".count($orders));
}
};

Did this file decode correctly?

Original Code

<?php /* Dev By Hoang Skyht 18-06-2024 */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x2cc;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NDlmKTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxN2MpLCdFbnRlcnlvdXdraFJIWUtOV09VVEFhQmJDY0RkRmZHZ0lpSmpMbE1tUHBRcVNzVnZYeFp6MDEyMzQ1Njc4OSsvPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>QsvdicHMkr9NHenNHenNHe1zfukgFMaXdoyjcUImb19oUAxyb18mRtwmwJ4LT09NHr8XTzEXRJwmwJXLT09NHeEXHr8XhtONT08XHeEXHr8Pkr8XTzEXT08XHtILTzEXHr8XTzEXRtONTzEXTzEXHeEpRtfydmOlFmlvfbfqDykwBAsKa09aaryiWMkeC0OLOMcuc0lpUMpHdr1sAunOFaYzamcCGyp6HerZHzW1YjF4KUSvNUFSk0ytW0OyOLfwUApRTr1KT1nOAlYAaacbBylDCBkjcoaMc2ipDMsSdB5vFuyZF3O1fmf4GbPXHTwzYeA2YzI5hZ8mhULpK2cjdo9zcUILTzEXHr8XTzEXhTslfMyShtONTzEXTzEXTzEpKX==tM5idBazFoyjcUnnFunFW29VF29Scaxed21sCB5LFzShfbYlwryXFyxhd2kzbr9ZcoaZUoyVcoxlUM9JKXp1F2AIWbnXbr1vcoaSF1xNFMOlFjShfbYlwrlSduasDB5ifoaFW29VF29Scaxed21sCB5LKXpjdoyzFZneDoajD09ZcoaZwoa4foaVcuHIW29sdByVcEp7tmnZd3OlC3OlctELF2lmdMy0fbklwe0Ik2YPcBYqKM9ZcoaZkzShFukvfoajfoaLwtOLcbYjFMlXfolvdJE9wtgPqQRljcbMP4eMm6bLV7vlJQrmKXpXfBkSDBHIcmaVC3Opd24Ib19jd25zfuk1C3WPhWp7tmniFMaVfeP6b19jd25zfuk1C3WPhTShgWpXfBkSDBHIcmaVC3Opd24IDoyVcoxlhtLhGXPLd3kLcbkzwe0IT3kLcbw6KmfPcbklUB4PT3kLcbw6KLckOAxrb1YAWaOaAZxdT3kLcbw6KlYAWaOaA19aTlnnUAWST3kLcbw6KlYAWaOaA19WOA5rUA5ubULsNMflftIpKXpMd3klCBYPwtILd3kLcbkzwoyzwtOvFMOlFJLIGXpNFMOlFLiidMOScApvCjP6colzFoy0C2IPko9ZcoaZhTShgWPLfoipFZ0+DB5MdZIJd3kLcbkzwoYvfB50KJEJRMYvfB50htOvFMOlFmHphTShgWp9KX==Uh\kiZxwU

Function Calls

fopen 1
fread 3
strtr 2
fclose 1
urldecode 1
str_replace 1
base64_decode 3

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O000O0O fgetc
$O0O00OO00 fread
$OO00O0000 716
$OO00O00O0 namespace App\Console\Commands; use App\Jobs\OrderHandleJob..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 75b18de66e558ae96dd63910d0040de5
Eval Count 3
Decode Time 109 ms