-
|
I used to start scanning OpenAPI via Nuclei 3.4.10:
While scanning Nuclei is using but Nuclei doesn't set these values into requestBody params: How can I solve this problem?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi! This is a known limitation in how Nuclei handles OpenAPI A few things to try:
This issue may also be worth tracking as a bug/feature request in the projectdiscovery/nuclei repo if it's not yet documented behavior. |
Beta Was this translation helpful? Give feedback.
Hi! This is a known limitation in how Nuclei handles OpenAPI
requestBodyparameters vs. path/query parameters.A few things to try:
Use
-varflag directly on the CLI to pass body params:Check your
required_openapi_params.yaml— make sure the variable names exactly match the property names defined in theMultipleRequestschema (node,values, etc.), not just the path parameters.Provide a full example value for the
requestBodyschema in your OpenAPI spec under theexamplefield — Nuclei may use those examples to populate body params automatically.