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/-5896b3ba/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/.cursor-server/data/User/History/-5896b3ba/JzMW.php
<?php
// Check if GD extension is available
if (!extension_loaded('gd')) {
    header('Location: /create_simple_image.php');
    exit;
}

// Set content type to PNG
header('Content-Type: image/png');

// Load your logo directly since it's already 1200x630
$logo_path = 'assets/images/og-logo.png';

if (file_exists($logo_path)) {
    $logo = imagecreatefrompng($logo_path);
    if ($logo) {
        // Use your logo as the base image
        $image = $logo;
        $width = imagesx($image);
        $height = imagesy($image);
    } else {
        // Fallback if logo loading fails
        $image = imagecreatetruecolor(1200, 630);
        $width = 1200;
        $height = 630;
        $bg_dark = imagecolorallocate($image, 10, 10, 10);
        imagefill($image, 0, 0, $bg_dark);
    }
} else {
    // Fallback if logo file doesn't exist
    $image = imagecreatetruecolor(1200, 630);
    $width = 1200;
    $height = 630;
    $bg_dark = imagecolorallocate($image, 10, 10, 10);
    imagefill($image, 0, 0, $bg_dark);
}

// Enable alpha blending
imagealphablending($image, true);
imagesavealpha($image, true);

// Define colors for text overlay
$text_white = imagecolorallocate($image, 255, 255, 255);
$text_accent = imagecolorallocate($image, 79, 172, 254);   // #4facfe
$text_secondary = imagecolorallocate($image, 160, 174, 192); // #a0aec0

// Add semi-transparent overlay for better text readability
$overlay = imagecolorallocatealpha($image, 0, 0, 0, 100);
imagefilledrectangle($image, 0, 0, $width, $height, $overlay);

// Add main title
$title = "SoundStudioPro";
$title_x = 80;
$title_y = 120;

// Check if we can use TTF fonts
$font_path = 'assets/fonts/Poppins-Bold.ttf';
if (function_exists('imagettftext') && file_exists($font_path)) {
    // Use TTF font for beautiful typography
    $font_size = 72;
    
    // Add text shadow for better readability
    $shadow_color = imagecolorallocatealpha($image, 0, 0, 0, 120);
    imagettftext($image, $font_size, 0, $title_x + 3, $title_y + 3, $shadow_color, $font_path, $title);
    
    // Main title
    imagettftext($image, $font_size, 0, $title_x, $title_y, $text_white, $font_path, $title);
    
    // Subtitle
    $subtitle = "AI Music Creation Platform";
    $subtitle_font_size = 36;
    $subtitle_y = $title_y + 80;
    imagettftext($image, $subtitle_font_size, 0, $title_x, $subtitle_y, $text_accent, $font_path, $subtitle);
    
    // Tagline
    $tagline = "Create Professional Music with AI";
    $tagline_font_size = 28;
    $tagline_y = $subtitle_y + 60;
    imagettftext($image, $tagline_font_size, 0, $title_x, $tagline_y, $text_secondary, $font_path, $tagline);
    
    // Features
    $features = [
        "🎵 Generate Original Tracks",
        "🎧 Professional Quality Audio",
        "🚀 50,000+ Creators Worldwide"
    ];
    
    $feature_y = $tagline_y + 80;
    foreach ($features as $feature) {
        imagettftext($image, 24, 0, $title_x, $feature_y, $text_white, $font_path, $feature);
        $feature_y += 50;
    }
    
    // Add website URL at bottom
    $url = "soundstudiopro.com";
    $url_x = $title_x;
    $url_y = $height - 60;
    $url_font_size = 20;
    imagettftext($image, $url_font_size, 0, $url_x, $url_y, $text_accent, $font_path, $url);
    
} else {
    // Fallback to basic fonts
    $font_size = 5;
    
    // Main title
    imagestring($image, $font_size, $title_x, $title_y, $title, $text_white);
    
    // Subtitle
    $subtitle = "AI Music Creation Platform";
    $subtitle_y = $title_y + 40;
    imagestring($image, $font_size - 1, $title_x, $subtitle_y, $subtitle, $text_accent);
    
    // Tagline
    $tagline = "Create Professional Music with AI";
    $tagline_y = $subtitle_y + 35;
    imagestring($image, $font_size - 1, $title_x, $tagline_y, $tagline, $text_secondary);
    
    // Features
    $features = [
        "Generate Original Tracks",
        "Professional Quality Audio", 
        "50,000+ Creators Worldwide"
    ];
    
    $feature_y = $tagline_y + 50;
    foreach ($features as $feature) {
        imagestring($image, 3, $title_x, $feature_y, $feature, $text_white);
        $feature_y += 30;
    }
    
    // Add website URL
    $url = "soundstudiopro.com";
    $url_x = $title_x;
    $url_y = $height - 40;
    imagestring($image, 3, $url_x, $url_y, $url, $text_accent);
}

// Output the image
imagepng($image);
imagedestroy($image);
?>

CasperSecurity Mini