commit
b96d52c5c8
|
@ -1,15 +1,14 @@
|
|||
id: shell-history
|
||||
|
||||
|
||||
info:
|
||||
name: Shell History
|
||||
author: pentest_swissky,geeknik
|
||||
severity: low
|
||||
description: Discover history for bash, ksh, sh, and zsh
|
||||
tags: config
|
||||
|
||||
tags: misconfig
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
redirects: true
|
||||
max-redirects: 1
|
||||
path:
|
||||
- "{{BaseURL}}/.bash_history"
|
||||
|
@ -34,10 +33,6 @@ requests:
|
|||
- "ps aux "
|
||||
condition: or
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
|
||||
- type: word
|
||||
words:
|
||||
- "<?xml"
|
||||
|
@ -49,3 +44,7 @@ requests:
|
|||
- "text/html"
|
||||
part: response
|
||||
negative: true
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
|
|
Loading…
Reference in New Issue