Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
$k = "80e32263"; $kh = "6f8af44abea0"; $kf = "351039f4a7b5"; $p = "0UlYyJHG87EJqEz6"; ..
Decoded Output download
<? $k = "80e32263";
$kh = "6f8af44abea0";
$kf = "351039f4a7b5";
$p = "0UlYyJHG87EJqEz6";
$s = "ISAG{".$kh;
$g = $kf.$p."}";
$flag = "I'm not telling you.";
function x($t, $k) {
$c = strlen($k);
$l = strlen($t);
$o = "";
for ($i = 0; $i < $l;) {
for ($j = 0;($j < $c && $i < $l); $j++, $i++) {
$o .= $t {$i} ^ $k {$j};
}
}
return $o;
}
if (@preg_match("/$s(.+)$g/", $flag, $m) == 1) {
$o = $m[1];
$r = @base64_encode(@x(@gzcompress($o), $k));
print("$p$kh$r$kf");
} ?>
Did this file decode correctly?
Original Code
$k = "80e32263";
$kh = "6f8af44abea0";
$kf = "351039f4a7b5";
$p = "0UlYyJHG87EJqEz6";
$s = "ISAG{".$kh;
$g = $kf.$p."}";
$flag = "I'm not telling you.";
function x($t, $k) {
$c = strlen($k);
$l = strlen($t);
$o = "";
for ($i = 0; $i < $l;) {
for ($j = 0;($j < $c && $i < $l); $j++, $i++) {
$o .= $t {$i} ^ $k {$j};
}
}
return $o;
}
if (@preg_match("/$s(.+)$g/", $flag, $m) == 1) {
$o = $m[1];
$r = @base64_encode(@x(@gzcompress($o), $k));
print("$p$kh$r$kf");
}
Function Calls
preg_match | 1 |
Stats
MD5 | 327410b260677d119db9c35f4ab4523e |
Eval Count | 0 |
Decode Time | 288 ms |