From 610c62cab49161b1596583c2cfd111850a576a60 Mon Sep 17 00:00:00 2001 From: sandeep <8293321+ehsandeep@users.noreply.github.com> Date: Wed, 31 Mar 2021 04:48:14 +0530 Subject: [PATCH] Added detect-options-method --- miscellaneous/detect-options-method.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 miscellaneous/detect-options-method.yaml diff --git a/miscellaneous/detect-options-method.yaml b/miscellaneous/detect-options-method.yaml new file mode 100644 index 0000000000..ce163fa3f9 --- /dev/null +++ b/miscellaneous/detect-options-method.yaml @@ -0,0 +1,18 @@ +id: detect-options-method + +info: + name: Detect enabled OPTIONS methods + author: pdteam + severity: info + +requests: + - method: OPTIONS + path: + - "{{BaseURL}}" + + extractors: + - type: regex + part: header + group: 1 + regex: + - "Allow: ([A-Z,]+)"