nuclei-templates/exposures/configs/exposed-gitignore.yaml

39 lines
863 B
YAML
Raw Normal View History

2021-07-09 17:20:20 +00:00
id: exposed-gitignore
info:
name: Exposed Gitignore
author: TheZakMan
severity: info
tags: config,git,exposure
reference: |
- https://twitter.com/pratiky9967/status/1230001391701086208
- https://www.tenable.com/plugins/was/98595
requests:
- method: GET
path:
- "{{BaseURL}}/.gitignore"
- "{{BaseURL}}/assets/.gitignore"
- "{{BaseURL}}/includes/.gitignore"
matchers-condition: and
matchers:
2021-07-09 19:10:09 +00:00
- type: dsl
dsl:
2021-07-25 19:09:16 +00:00
- 'len(body) > 50'
- 'status_code == 200'
2021-07-26 09:44:33 +00:00
condition: and
- type: word
words:
- "application/javascript"
- "application/json"
- "application/xml"
- "html"
- "<!doctype"
- "<script"
- "<meta"
- "image/"
part: all
negative: true
condtion: or