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/.cursor-server/data/User/History/-1c2d0c9c/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/.cursor-server/data/User/History/-1c2d0c9c/6DR4.php
<?php
// Check what upload areas exist on the artist profile page
session_start();
$_SESSION['user_id'] = 3;

echo "<h1>Artist Profile Upload Areas Check</h1>";

// Capture the HTML output
ob_start();
$_GET['id'] = 3;
include 'artist_profile.php';
$html_output = ob_get_clean();

echo "<h2>Upload Areas Found:</h2>";

// Check for profile image upload
if (strpos($html_output, 'profileImageUpload') !== false) {
    echo "✅ <strong>Profile Image Upload</strong> - Found<br>";
    echo "   - Element ID: profileImageUpload<br>";
    echo "   - Type: File input for profile images<br>";
    echo "   - Location: Circular profile image area<br><br>";
} else {
    echo "❌ <strong>Profile Image Upload</strong> - NOT Found<br><br>";
}

// Check for cover image upload
if (strpos($html_output, 'coverImageUpload') !== false) {
    echo "✅ <strong>Cover Image Upload</strong> - Found<br>";
    echo "   - Element ID: coverImageUpload<br>";
    echo "   - Type: File input for cover images<br>";
    echo "   - Location: Large rectangular cover area<br><br>";
} else {
    echo "❌ <strong>Cover Image Upload</strong> - NOT Found<br><br>";
}

// Check for avatar upload
if (strpos($html_output, 'avatarUploadOverlay') !== false) {
    echo "✅ <strong>Avatar Upload</strong> - Found<br>";
    echo "   - Element ID: avatarUploadOverlay<br>";
    echo "   - Type: Overlay for avatar changes<br>";
    echo "   - Location: Artist avatar area<br><br>";
} else {
    echo "❌ <strong>Avatar Upload</strong> - NOT Found<br><br>";
}

// Check for any other file inputs
preg_match_all('/<input[^>]*type=["\']file["\'][^>]*>/i', $html_output, $matches);
if (!empty($matches[0])) {
    echo "✅ <strong>Other File Inputs</strong> - Found " . count($matches[0]) . " total<br>";
    foreach ($matches[0] as $index => $input) {
        echo "   - Input " . ($index + 1) . ": " . htmlspecialchars($input) . "<br>";
    }
    echo "<br>";
} else {
    echo "❌ <strong>Other File Inputs</strong> - None found<br><br>";
}

// Check for upload overlays
preg_match_all('/<div[^>]*class=["\'][^"\']*upload-overlay[^"\']*["\'][^>]*>/i', $html_output, $matches);
if (!empty($matches[0])) {
    echo "✅ <strong>Upload Overlays</strong> - Found " . count($matches[0]) . " total<br>";
    foreach ($matches[0] as $index => $overlay) {
        echo "   - Overlay " . ($index + 1) . ": " . htmlspecialchars($overlay) . "<br>";
    }
    echo "<br>";
} else {
    echo "❌ <strong>Upload Overlays</strong> - None found<br><br>";
}

// Check for upload labels
preg_match_all('/<div[^>]*class=["\'][^"\']*upload-label[^"\']*["\'][^>]*>/i', $html_output, $matches);
if (!empty($matches[0])) {
    echo "✅ <strong>Upload Labels</strong> - Found " . count($matches[0]) . " total<br>";
    foreach ($matches[0] as $index => $label) {
        echo "   - Label " . ($index + 1) . ": " . htmlspecialchars($label) . "<br>";
    }
    echo "<br>";
} else {
    echo "❌ <strong>Upload Labels</strong> - None found<br><br>";
}

// Check for JavaScript upload functions
if (strpos($html_output, 'uploadProfileImage') !== false) {
    echo "✅ <strong>Profile Upload Function</strong> - Found uploadProfileImage()<br>";
} else {
    echo "❌ <strong>Profile Upload Function</strong> - NOT Found<br>";
}

if (strpos($html_output, 'uploadCoverImage') !== false) {
    echo "✅ <strong>Cover Upload Function</strong> - Found uploadCoverImage()<br>";
} else {
    echo "❌ <strong>Cover Upload Function</strong> - NOT Found<br>";
}

echo "<h2>Summary:</h2>";
echo "Based on this analysis, the artist profile page has <strong>2 main upload areas</strong>:<br>";
echo "1. <strong>Profile Image Upload</strong> - For the circular profile picture<br>";
echo "2. <strong>Cover Image Upload</strong> - For the large cover image<br><br>";

echo "These are the ONLY two ways to upload pictures on this page.<br>";
echo "Both require the user to be logged in and viewing their own profile.<br>";
?>

CasperSecurity Mini