Merge pull request #524 from swisskyrepo/swisskyrepo-shell-history
Shell History Files (.bash_history)patch-1
commit
f297dc175e
|
@ -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
|
Loading…
Reference in New Issue