Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
public function generateTransfer(array $data): Exception|array { try { ..
Decoded Output download
<? public function generateTransfer(array $data): Exception|array
{
try {
${"GLOBALS"}["ebpqldlpdlr"] = "amount";
${"GLOBALS"}["zofojsh"] = "data";
${${"GLOBALS"}["negfcvnq"]} = Setting::getSetting(SettingEnum::SYS_WITHDRAW_RATE);
${${"GLOBALS"}["ebpqldlpdlr"]} = ${${"GLOBALS"}["mvesrywo"]}["amount"] * (1 - (${${"GLOBALS"}["negfcvnq"]} / 100));
${${"GLOBALS"}["mqhwnpfv"]} = $this->client->post("/api/v1/gateway/pix-payment", ["json" => ["key" => ${${"GLOBALS"}["mvesrywo"]}["client"]["document"], "typeKey" => "document", "value" => ${${"GLOBALS"}["rddofgz"]},], "headers" => ["content-type" => "application/json", "Accept" => "application/json"]]);
${${"GLOBALS"}["mvesrywo"]} = $response->getBody()->getContents();
return json_decode(${${"GLOBALS"}["zofojsh"]}, true);
} catch (Exception $e) {
throw new Exception($e->getMessage(), $e->getCode());
}
} ?>
Did this file decode correctly?
Original Code
public function generateTransfer(array $data): Exception|array
{
try {
${"\x47\x4c\x4fBAL\x53"}["e\x62\x70\x71l\x64\x6c\x70dl\x72"] = "\x61\x6do\x75n\x74";
${"\x47\x4cO\x42\x41\x4cS"}["\x7aofoj\x73h"] = "d\x61\x74\x61";
${${"G\x4c\x4fBA\x4c\x53"}["\x6e\x65g\x66\x63v\x6eq"]} = Setting::getSetting(SettingEnum::SYS_WITHDRAW_RATE);
${${"\x47LO\x42\x41\x4cS"}["\x65\x62p\x71\x6c\x64\x6cpdl\x72"]} = ${${"\x47\x4c\x4fBA\x4c\x53"}["mves\x72yw\x6f"]}["\x61mo\x75\x6et"] * (1 - (${${"G\x4cO\x42\x41L\x53"}["\x6e\x65gf\x63\x76\x6e\x71"]} / 100));
${${"\x47\x4cO\x42A\x4c\x53"}["\x6d\x71h\x77\x6e\x70fv"]} = $this->client->post("/a\x70\x69/\x761/g\x61\x74e\x77\x61y/p\x69\x78-\x70\x61ym\x65n\x74", ["\x6a\x73o\x6e" => ["ke\x79" => ${${"GLO\x42\x41\x4c\x53"}["\x6dves\x72\x79wo"]}["\x63l\x69\x65\x6et"]["do\x63u\x6d\x65\x6e\x74"], "\x74y\x70eKe\x79" => "\x64o\x63umen\x74", "v\x61\x6cu\x65" => ${${"G\x4cO\x42\x41\x4c\x53"}["\x72\x64\x64\x6f\x66\x67z"]},], "he\x61de\x72s" => ["\x63\x6f\x6e\x74\x65\x6e\x74-ty\x70e" => "\x61ppl\x69catio\x6e/j\x73on", "A\x63\x63\x65\x70\x74" => "\x61\x70\x70li\x63\x61\x74\x69\x6fn/json"]]);
${${"\x47LO\x42\x41\x4cS"}["\x6dves\x72\x79w\x6f"]} = $response->getBody()->getContents();
return json_decode(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x6ffo\x6a\x73h"]}, true);
} catch (Exception $e) {
throw new Exception($e->getMessage(), $e->getCode());
}
}
Function Calls
None |
Stats
MD5 | 72148afcfff3686a851e1c185b8a5de3 |
Eval Count | 0 |
Decode Time | 42 ms |