nuclei/v2/pkg/core
Shubham Rasal 6b142d794a
Issue 2254 uncover integration (#2786)
* nuclei -uq 'vuln:CVE-2021-26855' -t cves/2021/

- `nuclei -uq 'vuln:CVE-2021-26855' -t cves/2021/`

* Add automatic template execution using metadata

- Query uncover after the template is loaded.
- Add the received hosts to the input provider from uncover
- Make NormalizeStoreInputValue() function public to add hosts from the
  runner after uncover hosts received.

* run go mod tidy

* Remove unnecessary comments

* Resolve the requested changes

- move uncover code to protocols/common/uncover package
- Use uncover delay to create uncover rate limiter
- Use single ratelimiter object and remove not required ratelimiters
- Create Set() method for input provider interface
- Rename normalizeStoreInputValue to Set() method

* Solved the uncover running twice.

- flag StringSliceVarP adds the default value twice in the variable
- Check if provider keys exists or not
- Add uncover help block to english readme.md

* Add uncover field functionality

- ./nuclei -uq 'vuln:CVE-2021-26855' -t dns -duc -uf host
- ./nuclei -uq 'vuln:CVE-2021-26855' -t dns -duc -uf ip:port

* Update error messages and solve nuclei hang for wrong uncover engine

- Get uncover engine values from uncover package

* Resolve merge conflicts

* misc option update

* Update logging for templates

- remove duplicate env log printing
- Log message for template queries

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-11-16 11:12:39 +05:30
..
inputs Issue 2254 uncover integration (#2786) 2022-11-16 11:12:39 +05:30
engine.go Issue 2254 uncover integration (#2786) 2022-11-16 11:12:39 +05:30
engine_test.go refactor the modules to core 2021-10-27 16:50:36 +05:30
execute.go Adding support to scan all v4/v6 IPs (#2709) 2022-11-09 18:48:56 +05:30
workflow_execute.go Adding support to scan all v4/v6 IPs (#2709) 2022-11-09 18:48:56 +05:30
workflow_execute_test.go Adding support to scan all v4/v6 IPs (#2709) 2022-11-09 18:48:56 +05:30
workpool.go refactor/documentation: typos and grammatical errors 2021-11-25 18:54:16 +02:00