mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-19 01:31:34 +00:00
Ban of .com and .ps1 uploads
It seems that COM files can still be run in Windows, and they behave like any other executable. PS1 files are scripts, so I put them on the list.
This commit is contained in:
parent
496575dea0
commit
ba8500144b
@ -36,9 +36,11 @@ module.exports = {
|
|||||||
// Add file extensions here which should be blocked
|
// Add file extensions here which should be blocked
|
||||||
blockedExtensions: [
|
blockedExtensions: [
|
||||||
'.exe',
|
'.exe',
|
||||||
|
'.msi',
|
||||||
|
'.com',
|
||||||
'.bat',
|
'.bat',
|
||||||
'.cmd',
|
'.cmd',
|
||||||
'.msi',
|
'.ps1',
|
||||||
'.sh'
|
'.sh'
|
||||||
],
|
],
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user