nuclei/v2/pkg/protocols/http
Shubham Rasal 449afc0c5c
Issue 3564 var override (#3599)
* Check if the variables are override by other means

- you can override the template variable value using command line flags

* Update lazy eval logic

- previously, we were checking any function/expression in variable
- now, update the logic, lazy eval only if variable contains any
  protocol variable(global)

* add integration tests

* Add test to check the dsl function working in variable

* gather all generate variables logic in utils

* go mod update

* Refactor the generate variables function

* go mod update+ fix typo

---------

Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-05-02 23:49:56 +05:30
..
fuzz Issue 2987 fuzz options (#3355) 2023-03-06 16:56:38 +05:30
httpclientpool clear after stop (#3312) 2023-02-13 16:46:41 +05:30
race Refactoring file templates to handle large files in chunks + removing deprecated io methods 2022-02-23 13:54:46 +01:00
raw aws signer: fix missing x-content-sha256 header (#3601) 2023-05-01 12:15:35 +05:30
signer aws signer: fix missing x-content-sha256 header (#3601) 2023-05-01 12:15:35 +05:30
signerpool code refactor + request dump fix 2021-11-26 13:49:12 +01:00
utils Issue 3564 var override (#3599) 2023-05-02 23:49:56 +05:30
build_request.go Issue 3564 var override (#3599) 2023-05-02 23:49:56 +05:30
build_request_test.go Replacing ccache with generic gcache (#3523) 2023-04-16 23:19:35 +05:30
cluster.go Do not consider fuzzing template during clustering 2022-12-05 23:07:38 +05:30
cluster_test.go enum changes for http method (#1234) 2021-11-18 19:20:21 +05:30
http.go update logic + config management refactor (#3567) 2023-04-19 21:58:48 +05:30
http_method_types.go fix json deserialization issues 2023-02-27 14:29:49 +08:00
http_test.go refactor/documentation: typos and grammatical errors 2021-11-25 18:54:16 +02:00
operators.go set content_length as len(body) if response ContentLength is -1 (#2407) 2022-10-24 16:37:09 +02:00
operators_test.go Added header as DSL part value (#2052) 2022-05-30 15:16:27 +05:30
request.go Replacing ccache with generic gcache (#3523) 2023-04-16 23:19:35 +05:30
request_annotations.go adding interactsh support to sni (#3276) 2023-02-07 14:02:10 +05:30
request_annotations_test.go adding interactsh support to sni (#3276) 2023-02-07 14:02:10 +05:30
request_condition.go Adding automatic request condition detection (#2707) 2022-10-15 15:19:04 +05:30
request_generator.go fix data race in payload (#3265) 2023-02-05 00:00:01 +05:30
request_generator_test.go update logic + config management refactor (#3567) 2023-04-19 21:58:48 +05:30
request_test.go Adding support to scan all v4/v6 IPs (#2709) 2022-11-09 18:48:56 +05:30
signature.go aws signer: fix missing x-content-sha256 header (#3601) 2023-05-01 12:15:35 +05:30
utils.go fix url encoding issues and inconsistencies (#3211) 2023-01-24 22:04:52 +05:30
validate.go Adding automatic request condition detection (#2707) 2022-10-15 15:19:04 +05:30