nuclei-templates/exposures/files/django-secret-key.yaml

36 lines
809 B
YAML
Raw Normal View History

2022-06-05 21:05:46 +00:00
id: django-secret-key
info:
2022-06-05 21:56:25 +00:00
name: Django Secret Key
2022-06-05 21:05:46 +00:00
author: geeknik, DhiyaneshDk
severity: high
reference: https://docs.gitguardian.com/secrets-detection/detectors/specifics/django_secret_key
tags: django,exposure
metadata:
verified: true
shodan-query: html:settings.py
requests:
- method: GET
path:
- "{{BaseURL}}/settings.py"
- "{{BaseURL}}/app/settings.py"
- "{{BaseURL}}/django/settings.py"
- "{{BaseURL}}/settings/settings.py"
- "{{BaseURL}}/web/settings/settings.py"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- "SECRET_KEY ="
- type: word
part: header
words:
- "text/html"
negative: true