-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pre-condition in code , fuzz and other misc updates #4966
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tarunKoyalwar
changed the title
fuzz: rename 'filters' -> 'pre-condition'
pre-condition in code , fuzz and other misc updates
Mar 30, 2024
id: extracted_value
info:
name: Extracted value does not work in flow
author: pascal-sun
severity: info
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}"
- "{{BaseURL}}/{{test}}"
extractors:
- type: regex
name: test
group: 1
regex:
- 'This (domain) is for use in illustrative examples in documents.'
internal: true
matchers:
- type: status
internal: true
status:
- 200
- method: GET
path:
- "https://example.org/{{test}}"
matchers:
- type: status
status:
- 404 Before nuclei -t a.yaml -u https://example.com -v -debug-req
__ _
____ __ _______/ /__ (_)
/ __ \/ / / / ___/ / _ \/ /
/ / / / /_/ / /__/ / __/ /
/_/ /_/\__,_/\___/_/\___/_/ v3.2.2
projectdiscovery.io
[VER] Started metrics server at localhost:9092
[INF] Current nuclei version: v3.2.2 (latest)
[INF] Current nuclei-templates version: v9.8.0 (latest)
[WRN] Scan results upload to cloud is disabled.
[INF] New templates added in latest release: 85
[INF] Templates loaded for current scan: 1
[WRN] Loaded 1 unsigned templates for scan. Use with caution.
[INF] Targets loaded for current scan: 1
[INF] [extracted_value] Dumped HTTP request for https://example.com
GET / HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.47
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
[VER] [extracted_value] Sent HTTP request to https://example.com
[INF] [extracted_value] Dumped HTTP request for https://example.com/[domain]
GET /[domain] HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
[VER] [extracted_value] Sent HTTP request to https://example.com/[domain]
[INF] [extracted_value] Dumped HTTP request for https://example.org/domain
GET /domain HTTP/1.1
Host: example.org
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
[VER] [extracted_value] Sent HTTP request to https://example.org/domain
[extracted_value] [http] [info] https://example.org/domain Now$ ./nuclei -t a.yaml -u https://example.com -v -debug-req
__ _
____ __ _______/ /__ (_)
/ __ \/ / / / ___/ / _ \/ /
/ / / / /_/ / /__/ / __/ /
/_/ /_/\__,_/\___/_/\___/_/ v3.2.2
projectdiscovery.io
[VER] Started metrics server at localhost:9092
[INF] Current nuclei version: v3.2.2 (latest)
[INF] Current nuclei-templates version: v9.8.0 (latest)
[WRN] Scan results upload to cloud is disabled.
[INF] New templates added in latest release: 85
[INF] Templates loaded for current scan: 1
[WRN] Loading 1 unsigned templates for scan. Use with caution.
[INF] Targets loaded for current scan: 1
[INF] [extracted_value] Dumped HTTP request for https://example.com
GET / HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
[VER] [extracted_value] Sent HTTP request to https://example.com
[INF] [extracted_value] Dumped HTTP request for https://example.com/domain
GET /domain HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/604.2.4 (KHTML, like Gecko) Version/9.1.2 Safari/604.2.4
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
[VER] [extracted_value] Sent HTTP request to https://example.com/domain
[INF] [extracted_value] Dumped HTTP request for https://example.org/domain
GET /domain HTTP/1.1
Host: example.org
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.8.25
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
[VER] [extracted_value] Sent HTTP request to https://example.org/domain
[extracted_value] [http] [info] https://example.org/domain |
Fixed Incorrect Template Loading Counters
BeforeAfter$ ./nuclei -dast -u example.com -t ~/Codebase/nuclei-templates/ -v -itags fuzz
__ _
____ __ _______/ /__ (_)
/ __ \/ / / / ___/ / _ \/ /
/ / / / /_/ / /__/ / __/ /
/_/ /_/\__,_/\___/_/\___/_/ v3.2.2
projectdiscovery.io
[VER] Started metrics server at localhost:9092
[WRN] Excluded 82 template[s] with known weak matchers / tags excluded from default run using .nuclei-ignore
[INF] Current nuclei version: v3.2.2 (latest)
[INF] Current nuclei-templates version: v9.8.0 (latest)
[WRN] Scan results upload to cloud is disabled.
[INF] New templates added in latest release: 85
[INF] Templates loaded for current scan: 21
[WRN] Executing 21 unsigned templates for scan. Use with caution.
[INF] Targets loaded for current scan: 1 cc: @ehsandeep |
ehsandeep
approved these changes
Apr 1, 2024
Mzack9999
approved these changes
Apr 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed Changes