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
parent
0920762894
commit
34a9d5d4ee
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue