Update GUIDE.md

patch-1
Ice3man 2020-04-04 21:57:25 +05:30 committed by GitHub
parent a372ef2e56
commit 562fe32b54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 20 deletions

View File

@ -78,10 +78,10 @@ Requests can be fine tuned to perform the exact tasks as desired. Nuclei request
```yaml ```yaml
# headers contains the headers for the request # headers contains the headers for the request
headers: headers:
# Custom user-agent header # Custom user-agent header
User-Agent: Some-Random-User-Agent User-Agent: Some-Random-User-Agent
# Custom request origin # Custom request origin
Origin: https://google.com Origin: https://google.com
``` ```
4. **Body** specifies a body to be sent along with the request. For instance - 4. **Body** specifies a body to be sent along with the request. For instance -
@ -106,12 +106,12 @@ Requests can be fine tuned to perform the exact tasks as desired. Nuclei request
```yaml ```yaml
matcher: matcher:
# match the status codes # match the status codes
- type: status - type: status
# some status codes we want to match # some status codes we want to match
status: status:
- 200 - 200
- 302 - 302
``` ```
To match size, similar structure can be followed. If the status code of response from the site matches any single one specified in the matcher, the request is marked as successful. To match size, similar structure can be followed. If the status code of response from the site matches any single one specified in the matcher, the request is marked as successful.
@ -135,16 +135,16 @@ Requests can be fine tuned to perform the exact tasks as desired. Nuclei request
```yaml ```yaml
matcher: matcher:
# match the body word # match the body word
- type: word - type: word
# some words we want to match # some words we want to match
words: words:
- "[core]" - "[core]"
- "[config]" - "[config]"
# both words must be found in the response body # both words must be found in the response body
condition: and condition: and
# we want to match request body (default) # we want to match request body (default)
part: body part: body
``` ```
Similarly, matchers can be written to match anything that you want to find in the response body allowing unlimited creativity and extensibility. Similarly, matchers can be written to match anything that you want to find in the response body allowing unlimited creativity and extensibility.