Merge pull request #524 from swisskyrepo/swisskyrepo-shell-history

Shell History Files (.bash_history)
patch-1
bauthard 2020-10-03 11:55:01 +05:30 committed by GitHub
commit f297dc175e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
files/shell-history.yaml Normal file
View File

@ -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