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 /* Mecondielle (using yak pro) http://mecondielle.com */ namespace app\Com; ..
Decoded Output download
<?php
/*
Mecondielle (using yak pro)
http://mecondielle.com
*/
namespace app\Com;
use Exception;
class Communication
{
public static $KIo2G3Ua = "udp";
public static $Z7ltDFsH = "tcp";
private $wB7bGeAQ = "tcp";
private $QtWQKHsm;
private $XmCz2Ygu;
private $c41T_vgL;
private $gXXUa3Mc = null;
private $ARTyihz5 = null;
private $DsWk6qfE = 3;
private $Ft3RilxI = 128;
private $DRLLQTS9 = false;
function __construct($Ser2J7dh, $rak370Fe, $lpDRajh3 = null, $sZYpehBK = null)
{
goto uiJcrayy;
g55zN2je:
if (is_null($lpDRajh3)) {
goto SWtnrn1A;
}
goto U6_T3_Kt;
zcy8sJo0:
SWtnrn1A:
goto BGBuJzgV;
b2PaH2Yb:
sbuDOwSn:
goto GvrVMJBj;
uiJcrayy:
$this->QtWQKHsm = $Ser2J7dh;
goto cgMXLDV2;
jY3ZOspc:
$this->DsWk6qfE = $sZYpehBK;
goto b2PaH2Yb;
U6_T3_Kt:
$this->wB7bGeAQ = $lpDRajh3;
goto zcy8sJo0;
BGBuJzgV:
if (is_null($sZYpehBK)) {
goto sbuDOwSn;
}
goto jY3ZOspc;
cgMXLDV2:
$this->XmCz2Ygu = $rak370Fe;
goto g55zN2je;
GvrVMJBj:
}
function __destruct()
{
fclose($this->c41T_vgL);
}
function tEXEmsiQ($lpDRajh3)
{
$this->wB7bGeAQ = $lpDRajh3;
}
function lyzbATOU($sZYpehBK)
{
$this->DsWk6qfE = $sZYpehBK;
}
public function connect($iyVWI7y_ = false)
{
goto Sx_2IZDW;
emgdB6A6:
if ($this->c41T_vgL) {
goto TqN008dN;
}
goto LKFSWM6Q;
WujJNXCO:
throw new Exception("[Communication] " . $this->I6F2BxH4());
goto F9e1EiCR;
cEudN8t9:
TqN008dN:
goto zBGB4XGB;
zBGB4XGB:
$this->DRLLQTS9 = TRUE;
goto EijXPGrB;
F9e1EiCR:
tJ4l2oqh:
goto cEudN8t9;
Sx_2IZDW:
$this->c41T_vgL = stream_socket_client($this->E7eLj5tD(), $this->gXXUa3Mc, $this->ARTyihz5, $this->DsWk6qfE);
goto emgdB6A6;
LKFSWM6Q:
if ($iyVWI7y_) {
goto tJ4l2oqh;
}
goto WujJNXCO;
EijXPGrB:
}
public function e7Elj5TD()
{
return $this->wB7bGeAQ . ":" . chr(47) . chr(47) . $this->QtWQKHsm . ":" . $this->XmCz2Ygu;
}
public function close()
{
goto Z_ytov8h;
SeecwspG:
fclose($this->c41T_vgL);
goto vIo4GxuC;
Z_ytov8h:
if (!(!is_null($this->c41T_vgL) && $this->c41T_vgL)) {
goto dXMIrPMw;
}
goto SeecwspG;
vIo4GxuC:
dXMIrPMw:
goto SzGadtY6;
SzGadtY6:
}
public function i6F2Bxh4()
{
return $this->ARTyihz5 . "(" . $this->gXXUa3Mc . ")";
}
public function Nh2Eythx($HW_DHeFP)
{
goto cYL4G6Qi;
D0DSU7oA:
$this->DRLLQTS9 = FALSE;
goto We4X67R9;
cYL4G6Qi:
if (!(fwrite($this->c41T_vgL, $HW_DHeFP) === FALSE)) {
goto y57gQutC;
}
goto D0DSU7oA;
We4X67R9:
throw new Exception("[Communication] Error sending the socket's information");
goto yDcfEOoI;
yDcfEOoI:
y57gQutC:
goto LIdGBR8p;
LIdGBR8p:
}
public function Acp_Ttv_($E6Ir11l7 = null)
{
goto hqmhWf0U;
VQIrlsIM:
if ($LmZiESBE === false) {
goto LZoL7y0l;
}
goto fye65Gst;
DNwwvAWn:
xNLvsMM9:
goto J0FEabJJ;
O9pDoar3:
LZoL7y0l:
goto pGhgSQcT;
hqmhWf0U:
if (!is_null($E6Ir11l7)) {
goto O7KpVBMg;
}
goto MzW6OYOB;
Bc5c9GUF:
goto xNLvsMM9;
goto O9pDoar3;
MzW6OYOB:
$E6Ir11l7 = $this->Ft3RilxI;
goto OYsTGD7s;
gy3KlZ5A:
$LmZiESBE = fread($this->c41T_vgL, $E6Ir11l7);
goto VQIrlsIM;
pGhgSQcT:
$this->DRLLQTS9 = FALSE;
goto ljO6Qy0T;
fye65Gst:
return $LmZiESBE;
goto Bc5c9GUF;
OYsTGD7s:
O7KpVBMg:
goto gy3KlZ5A;
ljO6Qy0T:
throw new Exception("[Communication] Error reading the socket's information");
goto DNwwvAWn;
J0FEabJJ:
}
public function dH1bx4Uf()
{
return $this->DRLLQTS9;
}
}
?>
Did this file decode correctly?
Original Code
<?php
/*
Mecondielle (using yak pro)
http://mecondielle.com
*/
namespace app\Com;
use Exception;
class Communication
{
public static $KIo2G3Ua = "\165\144\160";
public static $Z7ltDFsH = "\x74\x63\160";
private $wB7bGeAQ = "\164\x63\160";
private $QtWQKHsm;
private $XmCz2Ygu;
private $c41T_vgL;
private $gXXUa3Mc = null;
private $ARTyihz5 = null;
private $DsWk6qfE = 3;
private $Ft3RilxI = 128;
private $DRLLQTS9 = false;
function __construct($Ser2J7dh, $rak370Fe, $lpDRajh3 = null, $sZYpehBK = null)
{
goto uiJcrayy;
g55zN2je:
if (is_null($lpDRajh3)) {
goto SWtnrn1A;
}
goto U6_T3_Kt;
zcy8sJo0:
SWtnrn1A:
goto BGBuJzgV;
b2PaH2Yb:
sbuDOwSn:
goto GvrVMJBj;
uiJcrayy:
$this->QtWQKHsm = $Ser2J7dh;
goto cgMXLDV2;
jY3ZOspc:
$this->DsWk6qfE = $sZYpehBK;
goto b2PaH2Yb;
U6_T3_Kt:
$this->wB7bGeAQ = $lpDRajh3;
goto zcy8sJo0;
BGBuJzgV:
if (is_null($sZYpehBK)) {
goto sbuDOwSn;
}
goto jY3ZOspc;
cgMXLDV2:
$this->XmCz2Ygu = $rak370Fe;
goto g55zN2je;
GvrVMJBj:
}
function __destruct()
{
fclose($this->c41T_vgL);
}
function tEXEmsiQ($lpDRajh3)
{
$this->wB7bGeAQ = $lpDRajh3;
}
function lyzbATOU($sZYpehBK)
{
$this->DsWk6qfE = $sZYpehBK;
}
public function connect($iyVWI7y_ = false)
{
goto Sx_2IZDW;
emgdB6A6:
if ($this->c41T_vgL) {
goto TqN008dN;
}
goto LKFSWM6Q;
WujJNXCO:
throw new Exception("\x5b\103\x6f\x6d\x6d\x75\156\151\x63\141\x74\x69\157\156\x5d\40" . $this->I6F2BxH4());
goto F9e1EiCR;
cEudN8t9:
TqN008dN:
goto zBGB4XGB;
zBGB4XGB:
$this->DRLLQTS9 = TRUE;
goto EijXPGrB;
F9e1EiCR:
tJ4l2oqh:
goto cEudN8t9;
Sx_2IZDW:
$this->c41T_vgL = stream_socket_client($this->E7eLj5tD(), $this->gXXUa3Mc, $this->ARTyihz5, $this->DsWk6qfE);
goto emgdB6A6;
LKFSWM6Q:
if ($iyVWI7y_) {
goto tJ4l2oqh;
}
goto WujJNXCO;
EijXPGrB:
}
public function e7Elj5TD()
{
return $this->wB7bGeAQ . "\x3a" . chr(47) . chr(47) . $this->QtWQKHsm . "\x3a" . $this->XmCz2Ygu;
}
public function close()
{
goto Z_ytov8h;
SeecwspG:
fclose($this->c41T_vgL);
goto vIo4GxuC;
Z_ytov8h:
if (!(!is_null($this->c41T_vgL) && $this->c41T_vgL)) {
goto dXMIrPMw;
}
goto SeecwspG;
vIo4GxuC:
dXMIrPMw:
goto SzGadtY6;
SzGadtY6:
}
public function i6F2Bxh4()
{
return $this->ARTyihz5 . "\50" . $this->gXXUa3Mc . "\51";
}
public function Nh2Eythx($HW_DHeFP)
{
goto cYL4G6Qi;
D0DSU7oA:
$this->DRLLQTS9 = FALSE;
goto We4X67R9;
cYL4G6Qi:
if (!(fwrite($this->c41T_vgL, $HW_DHeFP) === FALSE)) {
goto y57gQutC;
}
goto D0DSU7oA;
We4X67R9:
throw new Exception("\133\x43\x6f\x6d\x6d\x75\x6e\x69\143\141\164\151\157\x6e\x5d\x20\105\162\x72\157\162\40\x73\145\156\x64\151\156\x67\40\164\x68\145\x20\163\157\143\x6b\145\x74\47\163\40\151\x6e\x66\x6f\x72\155\x61\x74\151\x6f\x6e");
goto yDcfEOoI;
yDcfEOoI:
y57gQutC:
goto LIdGBR8p;
LIdGBR8p:
}
public function Acp_Ttv_($E6Ir11l7 = null)
{
goto hqmhWf0U;
VQIrlsIM:
if ($LmZiESBE === false) {
goto LZoL7y0l;
}
goto fye65Gst;
DNwwvAWn:
xNLvsMM9:
goto J0FEabJJ;
O9pDoar3:
LZoL7y0l:
goto pGhgSQcT;
hqmhWf0U:
if (!is_null($E6Ir11l7)) {
goto O7KpVBMg;
}
goto MzW6OYOB;
Bc5c9GUF:
goto xNLvsMM9;
goto O9pDoar3;
MzW6OYOB:
$E6Ir11l7 = $this->Ft3RilxI;
goto OYsTGD7s;
gy3KlZ5A:
$LmZiESBE = fread($this->c41T_vgL, $E6Ir11l7);
goto VQIrlsIM;
pGhgSQcT:
$this->DRLLQTS9 = FALSE;
goto ljO6Qy0T;
fye65Gst:
return $LmZiESBE;
goto Bc5c9GUF;
OYsTGD7s:
O7KpVBMg:
goto gy3KlZ5A;
ljO6Qy0T:
throw new Exception("\x5b\x43\x6f\x6d\x6d\165\156\151\143\141\164\151\157\x6e\135\x20\x45\162\162\x6f\162\40\162\x65\x61\x64\x69\x6e\x67\40\164\150\x65\x20\163\157\x63\x6b\x65\x74\x27\x73\x20\x69\156\146\157\x72\x6d\x61\x74\x69\x6f\x6e");
goto DNwwvAWn;
J0FEabJJ:
}
public function dH1bx4Uf()
{
return $this->DRLLQTS9;
}
}
?>
Function Calls
None |
Stats
MD5 | 00a10c277938750ef60f4d5d202b5541 |
Eval Count | 0 |
Decode Time | 47 ms |