Skip to content

Commit

Permalink
Hardening after pentest
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Dec 5, 2023
1 parent 3c78de6 commit 838cb56
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion USER-FILES/.htaccess
Expand Up @@ -9,5 +9,5 @@ Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .*/media/.*\.(xml.*|json.*)$ - [L,NC]
RewriteRule .*\.(php|php[0-9]|phtml|pl|sh|java|py|xml.*|json.*)$ - [F,NC]
RewriteRule .*\.(php|php[0-9]|phar|phtml|pl|sh|java|py|xml.*|json.*)$ - [F,NC]
</IfModule>
5 changes: 0 additions & 5 deletions editor/elfinder/browse.php
Expand Up @@ -126,20 +126,15 @@
uiOptions : {
// toolbar configuration
toolbar : [
// ['back', 'forward'],
['reload'],
// ['home', 'up'],
['home'],
//['mkdir', 'mkfile', 'upload'],
['mkdir', 'upload'],
//['open', 'download', 'getfile'],
['download', 'getfile'],
['info'],
['quicklook'],
['copy', 'cut', 'paste'],
['rm'],
['duplicate', 'rename', 'edit', 'resize'],
//['extract', 'archive'],
['search'],
['view'],
['help']
Expand Down

0 comments on commit 838cb56

Please sign in to comment.