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/-1ec129f7/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/.cursor-server/data/User/History/-1ec129f7/TP0N.php
<?php
/**
 * EMERGENCY FIX - Revert all broken changes I made
 * This script restores the original file structure
 */

echo "🚨 EMERGENCY FIX - Reverting all broken changes...\n\n";

// List of files I broke
$broken_files = [
    'artist_dashboard.php',
    'studio.php', 
    'events.php'
];

foreach ($broken_files as $file) {
    if (!file_exists($file)) {
        echo "āŒ $file - File not found\n";
        continue;
    }
    
    echo "šŸ”§ Fixing $file...\n";
    
    // Read the broken file
    $content = file_get_contents($file);
    
    // Remove all the broken pageContainer additions I made
    $content = preg_replace('/\/\/ Add pageContainer for AJAX navigation\s+echo \'<div class="container" id="pageContainer">\';/s', '', $content);
    
    // Remove the broken closing divs
    $content = preg_replace('/\s*<\/div>\s*<!-- Close pageContainer -->\s*/s', '', $content);
    
    // Remove any malformed PHP tags I created
    $content = preg_replace('/<\?php\s*<\/div>/s', '</div>', $content);
    
    // Save the fixed file
    if (file_put_contents($file, $content)) {
        echo "āœ… $file - Fixed\n";
    } else {
        echo "āŒ $file - Failed to save\n";
    }
}

echo "\nšŸŽÆ Emergency fix complete!\n";
echo "All files should now work properly again.\n";
echo "\nNow let's think about the REAL AJAX problem...\n";
?>

CasperSecurity Mini