27 lines
553 B
YAML
27 lines
553 B
YAML
|
id: shell-history
|
||
|
|
||
|
info:
|
||
|
name: Shell History
|
||
|
author: pentest_swissky & geeknik
|
||
|
severity: low
|
||
|
description: Discover history for bash, ksh, sh, and zsh
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
redirects: true
|
||
|
max-redirects: 5
|
||
|
path:
|
||
|
- "{{BaseURL}}/.bash_history"
|
||
|
- "{{BaseURL}}/.ksh_history"
|
||
|
- "{{BaseURL}}/.sh_history"
|
||
|
- "{{BaseURL}}/.zsh_history"
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: word
|
||
|
words:
|
||
|
- "chmod "
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|