jcampbell1 / simple-file-manager

A Simple PHP file manager. The code is a single php file.
MIT License
914 stars 502 forks source link

index.php is empty (0 bytes) every couple hour or less #120

Open davidmt3 opened 2 years ago

davidmt3 commented 2 years ago

Hello

When I try to use index,php in a LiteSpeed server with PHP 7.4 , eveyr hour or so, the index.php file is 0 bytes. It's super strange. Users use the file manager to download a dozen of xml files and delete them. I tested it, duplicating the folder in a couple of folders where no one can access, and the index.php / filemanager.php /file.php (i've used such filenames too) is 0 bytes after an hour or so.

Is anyone else facing this same problem? permissions is set to 444 , 644 and 755 and it always does the same.

davidmt3 commented 2 years ago

SOLVED

cPanel's Inmunify360 identified index.php as dangerous, therefore deleting its content. I have added the file to the whitelist and it's all working fine now.