mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 04:55:28 +00:00
* fuzz: rename 'filters' -> 'pre-condition' * code proto: pre-condition + integration test * feat: dsl document generator * update dsl page header * fix lint error * add js defined helper funcs in docs * remove panic recovery unless its for third party(go-rod,goja) * handle dynamic values flattening edgecase in flow+multiprotocol * fix order of kv in form-data (failing test) * fix template loading counters * Revert "handle dynamic values flattening edgecase in flow+multiprotocol" This reverts commit 58fdd4faf7df5d654b46a9585011f614d5c98aa4. * fix flow iteration using 'iterate'
40 lines
905 B
YAML
40 lines
905 B
YAML
id: fuzz-body-generic
|
|
|
|
info:
|
|
name: fuzzing error sqli payloads in http req body
|
|
author: pdteam
|
|
severity: info
|
|
description: |
|
|
This template attempts to find SQL injection vulnerabilities by fuzzing http body
|
|
It automatically handles and parses json,xml,multipart form and x-www-form-urlencoded data
|
|
and performs fuzzing on the value of every key
|
|
|
|
http:
|
|
- pre-condition:
|
|
- type: dsl
|
|
dsl:
|
|
- method != "GET"
|
|
- method != "HEAD"
|
|
- contains(path, "/user") # for scope of integration test
|
|
condition: and
|
|
|
|
payloads:
|
|
injection:
|
|
- "'"
|
|
- "\""
|
|
- ";"
|
|
|
|
fuzzing:
|
|
- part: body
|
|
type: postfix
|
|
mode: single
|
|
fuzz:
|
|
- '{{injection}}'
|
|
|
|
stop-at-first-match: true
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "unrecognized token:"
|
|
- "null"
|