Create stestr-config.yaml

patch-1
Hardik Solanki 2022-12-10 13:51:01 +00:00 committed by GitHub
parent 9902c4d33a
commit 2024a1a0b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
id: stestr-config
info:
name: Stestr Configuration File Exposure
author: Hardik-Solanki
severity: info
metadata:
verified: true
github-query: filename:stestr.conf
reference:
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
- https://stestr.readthedocs.io/en/latest/MANUAL.html
tags: exposure,stestr,config
requests:
- method: GET
path:
- "{{BaseURL}}/.stestr.conf"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '[DEFAULT]'
- 'test_path='
condition: and
- type: status
status:
- 200