fix [WRN] [cors-misconfig] unresolved variables found: path (#5435)

* fix [WRN] [cors-misconfig] Could not make http request for..  unresolved variables found: path

* Additional path fix

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
patch-1
st0fm 2022-09-22 08:10:37 +02:00 committed by GitHub
parent 0920762894
commit 34a9d5d4ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 6 deletions

View File

@ -13,11 +13,7 @@ info:
requests:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
Origin: {{cors_origin}}
- |
GET {{path}} HTTP/1.1
GET HTTP/1.1
Host: {{Hostname}}
Origin: {{cors_origin}}
@ -34,7 +30,6 @@ requests:
- "http://{{tolower(rand_base(5))}}.{{RDN}}" # Arbitrary subdomain over http
stop-at-first-match: true
matchers-condition: or
matchers:
- type: dsl
name: arbitrary-origin