mirror of https://gitlab.com/bashrc2/epicyon
Bad path string
parent
efca7f7b5c
commit
19f84344a9
2
utils.py
2
utils.py
|
|
@ -4150,7 +4150,7 @@ def check_bad_path(path: str):
|
||||||
'/sftp.', '/sftp-', '/statistics',
|
'/sftp.', '/sftp-', '/statistics',
|
||||||
'/config/', 'settings.', 'credentials',
|
'/config/', 'settings.', 'credentials',
|
||||||
'/packs/', '/backend/', '/apis/',
|
'/packs/', '/backend/', '/apis/',
|
||||||
'/laravel/', '/js/')
|
'/laravel/', '/js/', '/root/')
|
||||||
|
|
||||||
if string_contains(path_lower, bad_strings):
|
if string_contains(path_lower, bad_strings):
|
||||||
return True
|
return True
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue