mirror of https://gitlab.com/bashrc2/epicyon
Suspicious strings
parent
779dac3ffa
commit
516b1cf911
|
|
@ -276,7 +276,7 @@ def contains_suspicious_headers(headers: {}) -> bool:
|
|||
'Think-lang' in headers:
|
||||
return True
|
||||
headers_str = str(headers)
|
||||
sus_strings = ('../../', '.php/', 'index.php', 'passwd')
|
||||
sus_strings = ('../../', '.php/', 'index.php', 'passwd=', 'PHPSESSID')
|
||||
if string_contains(headers_str, sus_strings):
|
||||
return True
|
||||
return False
|
||||
|
|
|
|||
Loading…
Reference in New Issue