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 class CertificateUtility { public static function generate_certificate($v..
Decoded Output download
<?php
class CertificateUtility
{
public static function generate_certificate($vj, $EW, $I7)
{
$ZF = openssl_pkey_new();
$fR = openssl_csr_new($vj, $ZF, $EW);
$GE = openssl_csr_sign($fR, null, $ZF, $I7, $EW, time());
openssl_csr_export($fR, $DY);
openssl_x509_export($GE, $f2);
openssl_pkey_export($ZF, $TY);
ck:
if (!(($u6 = openssl_error_string()) !== false)) {
goto EW;
}
error_log("CertificateUtility: Error generating certificate. " . $u6);
goto ck;
EW:
$Gv = array("public_key" => $f2, "private_key" => $TY);
return $Gv;
}
}
?>
Did this file decode correctly?
Original Code
<?php
class CertificateUtility
{
public static function generate_certificate($vj, $EW, $I7)
{
$ZF = openssl_pkey_new();
$fR = openssl_csr_new($vj, $ZF, $EW);
$GE = openssl_csr_sign($fR, null, $ZF, $I7, $EW, time());
openssl_csr_export($fR, $DY);
openssl_x509_export($GE, $f2);
openssl_pkey_export($ZF, $TY);
ck:
if (!(($u6 = openssl_error_string()) !== false)) {
goto EW;
}
error_log("\x43\145\x72\x74\151\x66\x69\143\x61\164\145\125\164\x69\x6c\151\164\171\72\40\x45\162\x72\x6f\162\40\147\145\156\145\x72\x61\164\151\156\x67\x20\x63\x65\162\164\151\146\151\x63\141\164\145\56\x20" . $u6);
goto ck;
EW:
$Gv = array("\x70\x75\x62\154\x69\x63\137\x6b\x65\171" => $f2, "\160\162\151\166\141\x74\x65\137\153\x65\171" => $TY);
return $Gv;
}
}
Function Calls
None |
Stats
MD5 | ee63f3055263cc853bf3fee7a956dbf6 |
Eval Count | 0 |
Decode Time | 37 ms |