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 eval("?>".base64_decode("PD9waHAKZXJyb3JfcmVwb3J0aW5nKDApOwpyZXF1aXJlX29uY2UoJ2xpYi9..
Decoded Output download
?>b'<?php
error_reporting(0);
require_once(\'lib/Config_HBConnect.php\');
require_once(\'lib/RechPayChecksum.php\');
$paramList = array();
$paramList["upiuid"] = $upiuid;
$paramList["token"] = $token;
$paramList["orderId"] = $orderId ;
$paramList["txnAmount"] = $txnAmount;
$paramList["txnNote"] = $txnNote;
$paramList["cust_Mobile"] = $cust_Mobile;
$paramList["cust_Email"] = $cust_Email;
$paramList["callback_url"] = $callback_url;
$checkSum = RechPayChecksum::generateSignature($paramList,$secret);
?>
<html>
<head>
<title>Gateway Check Out Page</title>
</head>
<body>
<center><h1>Please do not refresh this page...</h1></center>
<form method="post" action="<?php echo $RECHPAY_TXN_URL ?>" name="f1">
<table border="1">
<tbody>
<?php
foreach($paramList as $name => $value) {
echo \'<input type="hidden" name="\' . $name .\'" value="\' . $value . \'">\';
}
?>
<input type="hidden" name="checksum" value="<?php echo $checkSum ?>">
</tbody>
</table>
<script type="text/javascript">
document.f1.submit();
</script>
</form>
</body>
</html>
'
Did this file decode correctly?
Original Code
<?php eval("?>".base64_decode("PD9waHAKZXJyb3JfcmVwb3J0aW5nKDApOwpyZXF1aXJlX29uY2UoJ2xpYi9Db25maWdfSEJDb25uZWN0LnBocCcpOwpyZXF1aXJlX29uY2UoJ2xpYi9SZWNoUGF5Q2hlY2tzdW0ucGhwJyk7CiRwYXJhbUxpc3QgPSBhcnJheSgpOwokcGFyYW1MaXN0WyJ1cGl1aWQiXSA9ICR1cGl1aWQ7CiRwYXJhbUxpc3RbInRva2VuIl0gPSAkdG9rZW47CiRwYXJhbUxpc3RbIm9yZGVySWQiXSA9ICRvcmRlcklkIDsKJHBhcmFtTGlzdFsidHhuQW1vdW50Il0gPSAkdHhuQW1vdW50OwokcGFyYW1MaXN0W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