This commit is contained in:
carlospolop 2023-05-25 14:27:17 +02:00
parent 7e7738ab98
commit 78c932f1af

View File

@ -1141,6 +1141,15 @@ search:
- name: "authorized_keys" - name: "authorized_keys"
value: value:
good_regex: 'from=[\w\._\-]+' good_regex: 'from=[\w\._\-]+'
bad_regex: "command=.*"
type: f
search_in:
- common
- name: "*.pub"
value:
bad_regex: "command=.*"
only_bad_lines: True
type: f type: f
search_in: search_in:
- common - common