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('CiBnb3RvIEJBUFRzOyBCQVBUczogcmVxdWlyZV9vbmNlICJceDYzXHg2Zlx4NmVc..
Decoded Output download
goto BAPTs; BAPTs: require_once "config.php"; goto nb05B; nb05B: if ($_POST) { $amount = $_POST["oriAmount"]; $order_id = $_POST["mchOrderNo"]; $time = newtime("time"); $date = newtime("date"); $sql = "SELECT * FROM `usersrecharge` WHERE uniq_id='{$order_id}'"; $res = $conn->query($sql); if ($res) { $recharge = $res->fetch_assoc(); if ($recharge && $recharge["request_status"] == "pending") { $user_id = $recharge["user_id"]; $addwin00 = "UPDATE usersrecharge SET request_status='success' WHERE user_id='{$user_id}' AND recharge_amount='{$amount}' AND uniq_id='{$order_id}'"; $conn->query($addwin00); if ($conn->affected_rows > 0) { $addwin0 = "UPDATE usersdata SET user_balance = user_balance + ({$amount}) WHERE uniq_id='{$user_id}'"; $conn->query($addwin0); } } } echo "success"; header("Location: https://richierichgames.online/screens/recharge-history.php"); die; } goto xFeHz; xFeHz:
Did this file decode correctly?
Original Code
<?php eval(base64_decode('CiBnb3RvIEJBUFRzOyBCQVBUczogcmVxdWlyZV9vbmNlICJceDYzXHg2Zlx4NmVcMTQ2XHg2OVx4NjdceDJlXHg3MFx4NjhceDcwIjsgZ290byBuYjA1QjsgbmIwNUI6IGlmICgkX1BPU1QpIHsgJGFtb3VudCA9ICRfUE9TVFsiXDE1N1x4NzJcMTUxXDEwMVx4NmRceDZmXHg3NVwxNTZceDc0Il07ICRvcmRlcl9pZCA9ICRfUE9TVFsiXHg2ZFx4NjNceDY4XHg0ZlwxNjJcMTQ0XHg2NVwxNjJceDRlXDE1NyJdOyAkdGltZSA9IG5ld3RpbWUoIlwxNjRceDY5XHg2ZFwxNDUiKTsgJGRhdGUgPSBuZXd0aW1lKCJceDY0XDE0MVwxNjRceDY1Iik7ICRzcWwgPSAiXDEyM1x4NDVcMTE0XDE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