Files
nuclei-templates/http/exposures/configs/javascript-env-config.yaml

55 lines
1.4 KiB
YAML
Raw Normal View History

2025-01-25 04:14:22 +05:30
id: javascript-env-config
2021-06-30 10:17:58 +00:00
info:
name: JavaScript Environment Configuration - Detect
2022-03-20 17:06:28 -05:00
author: pdp,geeknik
2021-06-30 10:17:58 +00:00
severity: low
description: Multiple common JavaScript environment configuration files were detected.
metadata:
max-request: 6
2023-10-14 16:57:55 +05:30
tags: javascript,config,exposure
2021-06-30 10:17:58 +00:00
http:
2021-06-30 10:17:58 +00:00
- method: GET
path:
- "{{BaseURL}}/env.js"
- "{{BaseURL}}/env.development.js"
- "{{BaseURL}}/env.production.js"
- "{{BaseURL}}/env.test.js"
- "{{BaseURL}}/env.dev.js"
- "{{BaseURL}}/env.prod.js"
2021-06-30 17:53:27 +05:30
2021-06-30 10:17:58 +00:00
matchers-condition: and
matchers:
- type: status
status:
- 200
2021-06-30 17:53:27 +05:30
2021-06-30 19:29:26 +05:30
- type: dsl
dsl:
- "contains(tolower(header), 'content-type: application/javascript')"
2021-06-30 17:53:27 +05:30
- type: word
part: body
words:
- "module.exports"
- "const audience"
- "const domain"
- "NODE_ENV"
- "LOG_LEVEL"
- "TOKEN"
- "KEY"
- "PASSWORD"
- "VERSION"
2022-03-20 17:06:28 -05:00
condition: or
2022-03-20 19:51:06 -05:00
2022-03-20 17:06:28 -05:00
- type: word
part: body
words:
- "Bootstrap"
- "jQuery"
- "CSS TRANSITION SUPPORT"
2024-10-08 00:36:33 +05:30
- "is_ad_blocked"
2022-03-20 17:06:28 -05:00
condition: or
negative: true
2025-01-24 22:53:08 +00:00
# digest: 4b0a00483046022100d337753dd06f7741c4c4ceef7606caa74c5185a842235a1e91c12716e5d325b0022100de3118eba852d7a1a1870a34bf12ac53eb9667e3ac06def2a9b209337d5314e8:922c64590222798bb761d5b6d8e72950