403Webshell
Server IP : 69.72.244.102  /  Your IP : 216.73.216.164
Web Server : LiteSpeed
System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : konzalta ( 1271)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/konzalta/soko.chat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/konzalta/soko.chat/pay.php
<?php
require_once __DIR__ . '/app/db.php';
require_once __DIR__ . '/app/helpers.php';
require_once __DIR__ . '/app/mpesa.php';
if($_SERVER['REQUEST_METHOD']!=='POST') redirect(APP_URL.'/');
$dealId=(int)($_POST['deal_id']??0);$phone=normalize_phone($_POST['phone']??'');
$stmt=$pdo->prepare("SELECT * FROM deals WHERE id=? AND status='published' LIMIT 1");$stmt->execute([$dealId]);$deal=$stmt->fetch();
if(!$deal||$phone==='')die('Invalid request.');
$result=create_mpesa_payment_request($pdo,$deal,$phone);
?>
<!doctype html><html><head><meta charset="utf-8"><title>Payment - <?= e(APP_NAME) ?></title><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="<?= e(APP_URL) ?>/assets/css/style.css"></head><body><div class="top"><div class="wrap"><a class="brand logo-brand" href="<?= e(APP_URL) ?>/"><img class="logo-img" src="<?= e(APP_URL) ?>/assets/img/soko-logo.png" alt="Soko.chat"></a></div></div><div class="wrap"><div class="formbox"><h2>payment request created</h2><p><?= e($result['message']) ?></p><p><strong><?= e($deal['title']) ?></strong></p><p><?= e($phone) ?> ยท Ksh <?= e(number_format((float)$deal['unlock_fee'],2)) ?></p></div></div></body></html>

Youez - 2016 - github.com/yon3zu
LinuXploit