From 16152ad42f02af10269abd47456cf04cbffd56c9 Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Tue, 14 Nov 2023 13:02:27 +0530 Subject: [PATCH] Create jsconfig-json.yaml --- http/exposures/configs/jsconfig-json.yaml | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 http/exposures/configs/jsconfig-json.yaml diff --git a/http/exposures/configs/jsconfig-json.yaml b/http/exposures/configs/jsconfig-json.yaml new file mode 100644 index 00000000000..8c7a82a7d56 --- /dev/null +++ b/http/exposures/configs/jsconfig-json.yaml @@ -0,0 +1,36 @@ +id: jsconfig-json + +info: + name: Visual Studio Code jsconfig.json Disclosure + 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,files,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