diff --git a/misconfiguration/shell-history.yaml b/misconfiguration/shell-history.yaml index f04124c3ae..5164b96a20 100644 --- a/misconfiguration/shell-history.yaml +++ b/misconfiguration/shell-history.yaml @@ -10,7 +10,7 @@ info: requests: - method: GET redirects: true - max-redirects: 5 + max-redirects: 1 path: - "{{BaseURL}}/.bash_history" - "{{BaseURL}}/.ksh_history" @@ -22,6 +22,23 @@ requests: - type: word words: - "chmod " + - "exit" + - "kill " + - "nano " + - "vim " + - "pico " + - "sudo " + - "rm " + - "cd " + - "ps aux " + condition: or + - type: status status: - 200 + + - type: word + words: + - "