Skip to content

multiple bug fixes + -payload-concurrency flag#4868

Merged
ehsandeep merged 9 commits intodevfrom
issue-4865-extractor-issue
Mar 13, 2024
Merged

multiple bug fixes + -payload-concurrency flag#4868
ehsandeep merged 9 commits intodevfrom
issue-4865-extractor-issue

Conversation

@tarunKoyalwar
Copy link
Member

@tarunKoyalwar tarunKoyalwar commented Mar 12, 2024

Proposed Changes

[✓] Test "protocols/http/http-matcher-extractor-dy-extractor.yaml" passed!
[✓] Test "protocols/http/multi-http-var-sharing.yaml" passed!
$ ./nuclei -code -t a.yaml -v 

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v3.2.0-dev

		projectdiscovery.io

[VER] Started metrics server at localhost:9092
[INF] Current nuclei version: v3.2.0-dev (development)
[INF] Current nuclei-templates version: v9.7.8 (latest)
[WRN] Scan results upload to cloud is disabled.
[INF] New templates added in latest release: 126
[INF] Templates loaded for current scan: 1
[INF] Executing 1 signed templates from tarun
[VER] [rds-event-sub-enable] Executed code on local machine 
[rds-event-sub-enable] [code] [high]  [There are no Amazon RDS event subscriptions created for instance level events in ap-northeast-1 AWS region]

@tarunKoyalwar tarunKoyalwar self-assigned this Mar 12, 2024
@tarunKoyalwar tarunKoyalwar marked this pull request as ready for review March 12, 2024 21:54
@tarunKoyalwar tarunKoyalwar requested a review from ehsandeep March 12, 2024 21:54
@ehsandeep ehsandeep merged commit 49ef5cb into dev Mar 13, 2024
@ehsandeep ehsandeep deleted the issue-4865-extractor-issue branch March 13, 2024 15:05
@tarunKoyalwar tarunKoyalwar changed the title handle 1 more edgecase multiple bug fixes + -payload-concurrency flag Mar 13, 2024
dwisiswant0 added a commit that referenced this pull request Jan 3, 2026
The `race` condition directive was broken due to
a strict dependency on `threads > 0` for parallel
execution, causing templates with `race` directive
enabled but no explicit threads to fall back to
seq execution.

This regression was introduced in v3.2.0 (#4868),
which restricted parallel execution to only when
`payloads` were present.

Fixes #5713 to allow race conditions even w/o
explicit `payloads`, and add a default thread
count when race is enabled but threads is 0.

Signed-off-by: Dwi Siswanto <git@dw1.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment