Skip to content
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

fix fuzzing self-contained input requirement #4531

Merged
merged 1 commit into from
Dec 24, 2023
Merged

Conversation

dogancanbakir
Copy link
Member

@dogancanbakir dogancanbakir commented Dec 22, 2023

Proposed changes

Closes #4509

$ cat test.yaml
id: fuzzing-temp
info:
  name: Fuzzing Template
  author: custom
  severity: low

self-contained: true

http:
  - method: GET
    path:
      - "https://example.com/?param_name=123"
      
    payloads:
      payload_set1:
        - "1"
        - "2"
    attack: clusterbomb
    fuzzing:
      - part: query
        type: replace
        mode: single
        keys:
          - "param_name"
        fuzz:
          - "{{payload_set1}}"
    matchers:
      - type: status
        status:
          - 200

$ go run . -t ./test.yaml

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

                projectdiscovery.io

[INF] Current nuclei version: v3.1.4-dev (development)
[INF] Current nuclei-templates version: v9.7.2 (latest)
[WRN] Scan results upload to cloud is disabled.
[INF] New templates added in latest release: 61
[INF] Templates loaded for current scan: 1
[WRN] Executing 1 unsigned templates. Use with caution.
[fuzzing-temp] [http] [low] https://example.com/?param_name=1
[fuzzing-temp] [http] [low] https://example.com/?param_name=2

Checklist

  • Pull request is created against the dev branch
  • All checks passed (lint, unit/integration/regression tests etc.) with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@ehsandeep ehsandeep merged commit f6ebe7f into dev Dec 24, 2023
12 checks passed
@ehsandeep ehsandeep deleted the fix_fuzz_self_contained branch December 24, 2023 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fuzzing mode incompatible with self-contained option
2 participants