diff --git a/http/exposures/configs/jsconfig-json.yaml b/http/exposures/configs/jsconfig-json.yaml new file mode 100644 index 00000000000..85be1ed8af3 --- /dev/null +++ b/http/exposures/configs/jsconfig-json.yaml @@ -0,0 +1,36 @@ +id: jsconfig-json + +info: + name: Visual Studio Code jsconfig.json - Detect + author: DhiyaneshDk + severity: info + reference: + - https://code.visualstudio.com/docs/languages/jsconfig + metadata: + verified: true + max-request: 1 + shodan-query: html:"jsconfig.json" + tags: devops,exposure,jsconfig,config + +http: + - method: GET + path: + - "{{BaseURL}}/jsconfig.json" + + matchers-condition: and + matchers: + - type: word + part: body + words: + - '"compilerOptions": {' + - '"typeAcquisition": {' + condition: or + + - type: word + part: header + words: + - 'application/json' + + - type: status + status: + - 200