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 /* Loki telas Sistema de E-commerce v1.0 */$OOO000000=urldecode('%66%67%36%73%62%65%..
Decoded Output download
function montaPix($px){
$ret="";
foreach ($px as $k =>$v) {
if (!is_array($v)) {
if ($k == 54) {$v=number_format($v,2,'.','');}
else {$v=remove_char_especiais($v);}
$ret.=c2($k).cpm($v).$v;
}
else {
$conteudo=montaPix($v);
$ret.=c2($k).cpm($conteudo).$conteudo;
}
}
return $ret;
}
function remove_char_especiais($txt){
return preg_replace('/\W /','',remove_acentos($txt));
}
function remove_acentos($texto){
$search = explode(",",",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,");
$replace =explode(",","a,a,a,a,a,a,a,a,c,c,c,e,e,e,e,e,e,e,i,i,i,i,i,i,l,n,n,o,o,o,o,o,o,o,o,s,s,s,u,u,u,u,u,y,z,z,z,A,A,A,A,A,A,A,A,C,C,C,E,E,E,E,E,E,E,I,I,I,I,I,I,L,N,N,O,O,O,O,O,O,O,O,S,S,U,U,U,U,U,Y,Z,Z,Z");
return remove_emoji(str_replace($search,$replace,$texto));
}
function remove_emoji($string){
return preg_replace('%(?:
[-][-]{2} # planes 1-3
| [-][-]{3} # planes 4-15
| [-][-]{2} # plane 16
)%xs',' ',$string);
}
function cpm($tx){
if (strlen($tx) >99) {
die("Tamanho mximo deve ser 99, invlido: $tx possui ".strlen($tx) ." caracteres.");
}
return c2(strlen($tx));
}
function c2($input){
return str_pad($input,2,"0",STR_PAD_LEFT);
}
function crcChecksum($str) {
function charCodeAt($str,$i) {
return ord(substr($str,$i,1));
}
$crc = 0xFFFF;
$strlen = strlen($str);
for($c = 0;$c <$strlen;$c++) {
$crc ^= charCodeAt($str,$c) <<8;
for($i = 0;$i <8;$i++) {
if($crc &0x8000) {
$crc = ($crc <<1) ^0x1021;
}else {
$crc = $crc <<1;
}
}
}
$hex = $crc &0xFFFF;
$hex = dechex($hex);
$hex = strtoupper($hex);
$hex = str_pad($hex,4,'0',STR_PAD_LEFT);
return $hex;
}$O000O0O00=$OOO000O00($OOO0O0O00,'rb');$O0O00OO00($O000O0O00,0x4a6);$OO00O00O0=$OOO0000O0($OOO00000O($O0O00OO00($O000O0O00,0x23c),'nG9JBDscRlqo2HC4fKyuN3h5x/QtMFegPUI10WZjvAYESVT6bird7XOwL+ka8pzm=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'));eval($OO00O00O0);while(time()>1704240000)die('seu site precisa de manutenao ele foi criado pelo coder Loki
entre em contato caso esteja vendo essa mensagem ');$OO00O00O0=str_replace('__FILE__',"'".$OOO0O0O00."'",$OOO0000O0($OOO00000O($O0O00OO00($O000O0O00,$OO00O0000),'nG9JBDscRlqo2HC4fKyuN3h5x/QtMFegPUI10WZjvAYESVT6bird7XOwL+ka8pzm=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')));fclose($O000O0O00);eval($OO00O00O0);
function montaPix($px){
$ret="";
foreach ($px as $k =>$v) {
if (!is_array($v)) {
if ($k == 54) {$v=number_format($v,2,'.','');}
else {$v=remove_char_especiais($v);}
$ret.=c2($k).cpm($v).$v;
}
else {
$conteudo=montaPix($v);
$ret.=c2($k).cpm($conteudo).$conteudo;
}
}
return $ret;
}
function remove_char_especiais($txt){
return preg_replace('/\W /','',remove_acentos($txt));
}
function remove_acentos($texto){
$search = explode(",",",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,");
$replace =explode(",","a,a,a,a,a,a,a,a,c,c,c,e,e,e,e,e,e,e,i,i,i,i,i,i,l,n,n,o,o,o,o,o,o,o,o,s,s,s,u,u,u,u,u,y,z,z,z,A,A,A,A,A,A,A,A,C,C,C,E,E,E,E,E,E,E,I,I,I,I,I,I,L,N,N,O,O,O,O,O,O,O,O,S,S,U,U,U,U,U,Y,Z,Z,Z");
return remove_emoji(str_replace($search,$replace,$texto));
}
function remove_emoji($string){
return preg_replace('%(?:
[-][-]{2} # planes 1-3
| [-][-]{3} # planes 4-15
| [-][-]{2} # plane 16
)%xs',' ',$string);
}
function cpm($tx){
if (strlen($tx) >99) {
die("Tamanho mximo deve ser 99, invlido: $tx possui ".strlen($tx) ." caracteres.");
}
return c2(strlen($tx));
}
function c2($input){
return str_pad($input,2,"0",STR_PAD_LEFT);
}
function crcChecksum($str) {
function charCodeAt($str,$i) {
return ord(substr($str,$i,1));
}
$crc = 0xFFFF;
$strlen = strlen($str);
for($c = 0;$c <$strlen;$c++) {
$crc ^= charCodeAt($str,$c) <<8;
for($i = 0;$i <8;$i++) {
if($crc &0x8000) {
$crc = ($crc <<1) ^0x1021;
}else {
$crc = $crc <<1;
}
}
}
$hex = $crc &0xFFFF;
$hex = dechex($hex);
$hex = strtoupper($hex);
$hex = str_pad($hex,4,'0',STR_PAD_LEFT);
return $hex;
}
;
Did this file decode correctly?
Original Code
<?php /* Loki telas Sistema de E-commerce v1.0 */$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{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