Merge pull request #5194 from Scivous/patch-1

update shell-history.yaml
patch-1
Prince Chaddha 2022-08-25 13:52:56 +05:30 committed by GitHub
commit b96d52c5c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 8 deletions

View File

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