2020-10-01 18:35:07 +00:00
|
|
|
id: shell-history
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Shell History
|
2020-12-02 15:35:28 +00:00
|
|
|
author: pentest_swissky & geeknik
|
2020-10-03 06:22:40 +00:00
|
|
|
severity: low
|
2020-12-02 15:35:28 +00:00
|
|
|
description: Discover history for bash, ksh, sh, and zsh
|
2021-03-12 08:57:14 +00:00
|
|
|
tags: config
|
2020-10-01 18:35:07 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
redirects: true
|
|
|
|
max-redirects: 5
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.bash_history"
|
2020-12-02 15:35:28 +00:00
|
|
|
- "{{BaseURL}}/.ksh_history"
|
|
|
|
- "{{BaseURL}}/.sh_history"
|
2020-10-01 18:35:07 +00:00
|
|
|
- "{{BaseURL}}/.zsh_history"
|
2020-10-03 06:22:40 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
2020-10-01 18:35:07 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2020-10-03 06:22:40 +00:00
|
|
|
- "chmod "
|
|
|
|
- type: status
|
|
|
|
status:
|
2020-12-02 15:35:28 +00:00
|
|
|
- 200
|