nuclei-templates/http/exposures/logs/npm-log-file.yaml

32 lines
827 B
YAML

id: npm-log-file
info:
name: Publicly accessible NPM Log file
author: sheikhrishad,DhiyaneshDk
severity: low
reference:
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
metadata:
verified: true
max-request: 2
shodan-query: html:"npm-debug.log"
tags: npm,logs,exposure
http:
- method: GET
path:
- "{{BaseURL}}/npm-debug.log"
- "{{BaseURL}}/assets/npm-debug.log"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- "info it worked if it ends with ok"
- type: status
status:
- 200
# digest: 490a004630440220200eecafc0bc184ce0a7e81d7fa19e18441dbba8774c1cbb1e5ce429811dc3e202207fb668a1a77b2cc50974c885703a834e5966fad0c11e840b601f4be18c02203a:922c64590222798bb761d5b6d8e72950