Update README.md

This commit is contained in:
sandeep 2021-07-08 21:03:02 +05:30
parent 4988ef76b5
commit 732cd46d4b

View File

@ -45,22 +45,20 @@ We have a [dedicated repository](https://github.com/projectdiscovery/nuclei-temp
# Install Nuclei # Install Nuclei
```sh ```sh
GO111MODULE=on go get -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei GO111MODULE=on go get -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei
``` ```
**More installation [methods can be found here](https://nuclei.projectdiscovery.io/nuclei/get-started.html).** **More installation [methods can be found here](https://nuclei.projectdiscovery.io/nuclei/get-started/).**
<table> <table>
<tr> <tr>
<td> <td>
### Download Templates ### Nuclei Templates
You can download and update the nuclei templates using <ins>*update-templates*</ins> flag of nuclei that downloads all the available **nuclei-templates** from [Github project](https://github.com/projectdiscovery/nuclei-templates), a community curated list of templates that are ready to use. Nuclei has had built-in support for automatic update/download templates since version [v2.4.0](https://github.com/projectdiscovery/nuclei/releases/tag/v2.4.0). [**Nuclei-Templates**](https://github.com/projectdiscovery/nuclei-templates) project provides a community-contributed list of ready-to-use templates that is constantly updated.
`▶ nuclei -update-templates` You may still use the `update-templates` flag to update the nuclei templates at any time; automatic updates happen every 24 hours. You can write your own checks for your individual workflow and needs following Nuclei's [templating guide](https://nuclei.projectdiscovery.io/templating-guide/).
Nuclei is designed to used with custom templates according to the target and workflow, you can write your own checks for your specific workflow and needs, please refer to nuclei [templating guide](https://nuclei.projectdiscovery.io/templating-guide/) to write your own custom templates.
</td> </td>
</tr> </tr>
@ -83,7 +81,7 @@ Usage:
Flags: Flags:
-H, -header value Custom Header. -H, -header value Custom Header.
-biid, -burp-collaborator-biid string Burp Collaborator BIID -author value Templates to run based on author
-bs, -bulk-size int Maximum Number of hosts analyzed in parallel per template (default 25) -bs, -bulk-size int Maximum Number of hosts analyzed in parallel per template (default 25)
-c, -concurrency int Maximum Number of templates executed in parallel (default 10) -c, -concurrency int Maximum Number of templates executed in parallel (default 10)
-config string Nuclei configuration file -config string Nuclei configuration file
@ -93,8 +91,10 @@ Flags:
-et, -exclude value Templates to exclude, supports single and multiple templates using directory. -et, -exclude value Templates to exclude, supports single and multiple templates using directory.
-etags, -exclude-tags value Exclude templates with the provided tags -etags, -exclude-tags value Exclude templates with the provided tags
-headless Enable headless browser based templates support -headless Enable headless browser based templates support
-impact, -severity value Templates to run based on severity, supports single and multiple severity. -impact, -severity value Templates to run based on severity
-irr, -include-rr Write requests/responses for matches in JSON output -irr, -include-rr Write requests/responses for matches in JSON output
-include-tags value Tags to force run even if they are in denylist
-include-templates value Templates to force run even if they are in denylist
-interactions-cache-size int Number of requests to keep in interactions cache (default 5000) -interactions-cache-size int Number of requests to keep in interactions cache (default 5000)
-interactions-cooldown-period int Extra time for interaction polling before exiting (default 5) -interactions-cooldown-period int Extra time for interaction polling before exiting (default 5)
-interactions-eviction int Number of seconds to wait before evicting requests from cache (default 60) -interactions-eviction int Number of seconds to wait before evicting requests from cache (default 60)
@ -127,6 +127,7 @@ Flags:
-silent Show only results in output -silent Show only results in output
-spm, -stop-at-first-path Stop processing http requests at first match (this may break template/workflow logic) -spm, -stop-at-first-path Stop processing http requests at first match (this may break template/workflow logic)
-stats Display stats of the running scan -stats Display stats of the running scan
-stats-json Write stats output in JSON format
-system-resolvers Use system dns resolving as error fallback -system-resolvers Use system dns resolving as error fallback
-t, -templates value Templates to run, supports single and multiple templates using directory. -t, -templates value Templates to run, supports single and multiple templates using directory.
-tags value Tags to execute templates for -tags value Tags to execute templates for
@ -138,7 +139,9 @@ Flags:
-ud, -update-directory string Directory storing nuclei-templates (default /Users/geekboy/nuclei-templates) -ud, -update-directory string Directory storing nuclei-templates (default /Users/geekboy/nuclei-templates)
-ut, -update-templates Download / updates nuclei community templates -ut, -update-templates Download / updates nuclei community templates
-v, -verbose Show verbose output -v, -verbose Show verbose output
-validate Validate the passed templates to nuclei
-version Show version of nuclei -version Show version of nuclei
-vv Display Extra Verbose Information
-w, -workflows value Workflows to run for nuclei -w, -workflows value Workflows to run for nuclei
``` ```
@ -146,10 +149,19 @@ Flags:
### Running Nuclei ### Running Nuclei
Scanning for CVEs on given list of URLs. Scanning target URLs with [community-curated](https://github.com/projectdiscovery/nuclei-templates) nuclei templates.
```sh ```sh
▶ nuclei -l target_urls.txt -t cves/ nuclei -list urls.txt
```
Example of `urls.txt`:
```yaml
https://redacted.com
https://test.redacted.com
http://example.com
http://app.example.com
``` ```
**More detailed examples of running nuclei can be found [here](https://nuclei.projectdiscovery.io/nuclei/get-started/#running-nuclei).** **More detailed examples of running nuclei can be found [here](https://nuclei.projectdiscovery.io/nuclei/get-started/#running-nuclei).**