Nuclei scan using Swagger file. #4987
-
Hello Team, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
We are using openapi file but getting below error. It was observed that nuclei was not collecting endpoints from the openapi file and not performing any scan. Could you please help us? Swagger file or openapi file can be found at https://github.com/microsoft/restler-fuzzer/tree/main/demo_server |
Beta Was this translation helpful? Give feedback.
-
@mikemicky4321 , flags
$ nuclei -l swagger.json -im openapi -dast -id erlang-daemon 1 ↵
__ _
____ __ _______/ /__ (_)
/ __ \/ / / / ___/ / _ \/ /
/ / / / /_/ / /__/ / __/ /
/_/ /_/\__,_/\___/_/\___/_/ v3.2.3
projectdiscovery.io
[ERR] openapi: Found 1 missing parameters, use -skip-format-validation flag to skip requests or update missing parameters generated in required_openapi_params.yaml file,you can also specify these vars using -var flag in (key=value) format you can see when we use
we have also added detailed document of this feature with examples at https://docs.projectdiscovery.io/tools/nuclei/input-formats |
Beta Was this translation helpful? Give feedback.
-
Hello @tarunKoyalwar and @ehsandeep , These are the available fuzzing templates right? (https://github.com/projectdiscovery/fuzzing-templates). May I know why nuclei didn't perform xss templates here? Checking Authorization and Authentication |
Beta Was this translation helpful? Give feedback.
@mikemicky4321 , flags
-list
and-target
are mutually exclusive , that means when using new input formats using-im
only-list
should be used or expected