diff --git a/files/shell-history.yaml b/files/shell-history.yaml new file mode 100644 index 0000000000..b6e8ec311d --- /dev/null +++ b/files/shell-history.yaml @@ -0,0 +1,24 @@ +id: shell-history + +info: + name: Shell History + author: pentest_swissky + severity: low + description: Discover history for bash and zsh file. + +requests: + - method: GET + redirects: true + max-redirects: 5 + path: + - "{{BaseURL}}/.bash_history" + - "{{BaseURL}}/.zsh_history" + + matchers-condition: and + matchers: + - type: word + words: + - "chmod " + - type: status + status: + - 200 \ No newline at end of file