Skip to content

Nuclei scan using Swagger file. #4987

Discussion options

You must be logged in to vote

@mikemicky4321 , flags -list and -target are mutually exclusive , that means when using new input formats using -im only -list should be used or expected

You can confirm this by looking at screenshot you shared specifically Targets Loaded for current scan: 1 , if openapi file was used it would be more than 1 since it contains more than 1 request defination in it , but in your case you --target was being used and that too with -im which caused this 400 Bad request

  • this is correct usage format
$  nuclei -l swagger.json -im openapi -dast -id erlang-daemon                     1 ↵

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tarunKoyalwar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants