Create karma-config-js.yaml

patch-1
Dhiyaneshwaran 2022-06-11 08:09:39 +01:00 committed by GitHub
parent 91d5588e5e
commit 988f30ff78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
id: karma-conf-js
info:
name: Karma Configuration File Exposure
author: DhiyaneshDk
severity: medium
metadata:
verified: true
shodan-query: html:"karma.conf.js"
tags: config,exposure,devops
requests:
- method: GET
path:
- "{{BaseURL}}/.config/karma.conf.js"
- "{{BaseURL}}/karma.conf.js"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- "// Karma configuration"
- "module.exports"
condition: and
- type: status
status:
- 200