T.ME/BIBIL_0DAY
CasperSecurity


Server : Apache/2
System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : gositeme ( 1004)
PHP Version : 8.2.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/gositeme/domains/soundstudiopro.com/private_html/utils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/domains/soundstudiopro.com/private_html/utils/test_status_endpoints.php
<?php
// Test more status endpoint variations
$API_KEY = '63edba40620216c5aa2c04240ac41dbd';
$API_URL = 'https://api.api.box';

echo "<h1>🔍 Status Endpoint Discovery</h1>";

// Use the task ID from previous test
$taskId = 'd3cb7d08962c85e55b4fb4e2dd1f17ea';

echo "Testing task ID: <strong>$taskId</strong><br><br>";

// Test more endpoint variations
$endpoints = [
    // Standard variations
    "/api/v1/task/$taskId/details",
    "/api/v1/task/$taskId",
    "/api/v1/tasks/$taskId",
    "/api/task/$taskId",
    "/api/tasks/$taskId",
    "/task/$taskId",
    "/tasks/$taskId",
    
    // Alternative paths
    "/api/v1/status/$taskId",
    "/api/v1/result/$taskId",
    "/api/v1/get/$taskId",
    "/api/v1/fetch/$taskId",
    
    // RESTful variations
    "/api/v1/music/status/$taskId",
    "/api/v1/music/result/$taskId",
    "/api/v1/generate/status/$taskId",
    "/api/v1/generate/result/$taskId",
    
    // Check if there's a general status endpoint
    "/api/v1/status",
    "/api/v1/tasks",
    "/api/v1/results"
];

foreach ($endpoints as $endpoint) {
    echo "<h3>Testing: <code>$endpoint</code></h3>";
    
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $API_URL . $endpoint);
    curl_setopt($ch, CURLOPT_HTTPGET, true);
    curl_setopt($ch, CURLOPT_HTTPHEADER, [
        'Authorization: Bearer ' . $API_KEY,
        'Content-Type: application/json'
    ]);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_TIMEOUT, 10);
    curl_setopt($ch, CURLOPT_HEADER, true);
    
    $response = curl_exec($ch);
    $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    curl_close($ch);
    
    echo "HTTP Code: <strong>$httpCode</strong><br>";
    
    if ($httpCode === 200) {
        echo "✅ <strong>SUCCESS!</strong> Found working endpoint!<br>";
        echo "Response: <pre>" . htmlspecialchars(substr($response, 0, 500)) . "</pre><br>";
    } else {
        echo "Response: <pre>" . htmlspecialchars(substr($response, 0, 200)) . "</pre><br>";
    }
    
    echo "<hr>";
}

echo "<h2>📋 Summary</h2>";
echo "<p>Looking for the correct task status endpoint...</p>";
?> 

CasperSecurity Mini