Merge pull request #8354 from projectdiscovery/protractor-config

Create protractor-config.yaml
patch-1
Ritik Chaddha 2023-10-11 14:30:04 +05:30 committed by GitHub
commit d53d0677b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
id: protractor-config
info:
name: Protractor Configuration Exposure
author: DhiyaneshDK
severity: low
description: |
Protractor configuration file was detected.
reference:
- https://www.protractortest.org/#/api-overview
metadata:
max-request: 1
verified: true
shodan-query: html:"protractor.conf.js"
tags: devops,exposure,protractor,config
http:
- method: GET
path:
- "{{BaseURL}}/protractor.conf.js"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'exports.config'
- 'capabilities:'
condition: and
- type: word
part: header
words:
- "application/javascript"
- type: status
status:
- 200