simple-file-manager
simple-file-manager copied to clipboard
A Simple PHP file manager. The code is a single php file.
Hi John, Just letting you know that I'm packaging this as a WordPress plugin at [https://github.com/qriouslad/simple-file-manager](https://github.com/qriouslad/simple-file-manager). Just getting the basics done for now, and added file viewer with syntax highlighting...
I tried the version with the editor first ([the fork created by @diego95root](https://github.com/diego95root/File-manager-php)) and when I tried to open files in a sub-directory it just tried to them in the...
Fix spelling error detected by CodeSpell. See https://github.com/codespell-project/codespell
I believe there's brute force attack vulnerability when we set the password One protection is to add Google Re-Captcha (I use V2). Here's how to add it ( I also...
There's no delete confirmation. To add one, change code line 310-312 from ``` $.post("",{'do':'delete',file:$(this).attr('data-file'),xsrf:XSRF},function(response){ list(); },'json'); ``` into this ``` if(confirm('Are you sure?')){ $.post("",{'do':'delete',file:$(this).attr('data-file'),xsrf:XSRF},function(response){ list(); },'json'); } ```
how to change the working directory I have the following structure: / / admin - here's the simple-file-manager / images - here are the files it should manage. Where do...
I believe there is a session fixation vulnerability here - the fix is simple: ``` if(!$_SESSION['_sfm_allowed']) { session_regenerate_id(); // add this line ``` HTH
After pull requests #66 and #93 were merged, old unescaped URIs (from browser history or external links) were no longer properly decomposed. Use a regex instead of a string to...