2021-02-17 10:39:18 +00:00
|
|
|
id: npm-log-file
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Publicly accessible NPM Log file
|
2022-10-07 05:46:18 +00:00
|
|
|
author: sheikhrishad,DhiyaneshDk
|
2021-02-17 10:39:18 +00:00
|
|
|
severity: low
|
2022-10-07 05:49:23 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
shodan-query: html:"npm-debug.log"
|
2021-05-07 10:38:22 +00:00
|
|
|
tags: npm,logs,exposure
|
2021-02-17 10:39:18 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/npm-debug.log"
|
2022-10-07 05:46:18 +00:00
|
|
|
- "{{BaseURL}}/assets/npm-debug.log"
|
2021-02-17 10:39:18 +00:00
|
|
|
|
2022-10-07 05:46:18 +00:00
|
|
|
stop-at-first-match: true
|
2021-02-17 10:39:18 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "info it worked if it ends with ok"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2021-02-17 10:43:06 +00:00
|
|
|
- 200
|