mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 05:15:24 +00:00
* feat: added fuzzing output enhancements * changes as requested * misc * feat: added dfp flag to display fuzz points + misc additions * feat: added support for fuzzing nested path segments * feat: added parts to fuzzing requests * feat: added tracking for parameter occurence frequency in fuzzing * added cli flag for fuzz frequency * fixed broken tests * fixed path based sqli integration test * feat: added configurable fuzzing aggression level for payloads * fixed failing test
39 lines
955 B
YAML
39 lines
955 B
YAML
id: path-based-sqli
|
|
|
|
info:
|
|
name: Path Based SQLi
|
|
author: pdteam
|
|
severity: info
|
|
description: |
|
|
This template attempts to find SQL injection vulnerabilities on path based sqli and replacing numerical values with fuzzing payloads.
|
|
ex: /admin/user/55/profile , /user/15/action/update, /posts/15, /blog/100/data, /page/51/ etc these types of paths are filtered and
|
|
replaced with sqli path payloads.
|
|
Note: this is example template, and payloads/matchers need to be modified appropriately.
|
|
|
|
http:
|
|
- pre-condition:
|
|
- type: dsl
|
|
dsl:
|
|
- 'method == "GET"'
|
|
condition: and
|
|
|
|
payloads:
|
|
pathsqli:
|
|
- '%20OR%20True'
|
|
|
|
fuzzing:
|
|
- part: path
|
|
type: postfix
|
|
mode: single
|
|
fuzz:
|
|
- '{{pathsqli}}'
|
|
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
words:
|
|
- "admin"
|
|
matchers-condition: and |