Skip to content

Custom nuclei template works with default cli, but not with -nh #4968

Answered by ehsandeep
bhrott asked this question in Q&A
Discussion options

You must be logged in to vote

@bhrott if you are not specifying url scheme, nuclei try to auto probe as default which is happening in 1st case, and you are disabling probbing behavior by specifying -nh option, as result nuclei will not probe and fail, so this is working as expected, it's not working in 2nd case, as you are specifically disabling the auto probe.

if you wanted to use -nh option you need to pass input with URL scheme i.e nuclei -t template-get.yaml -u http://127.0.0.1:5000 -nh

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bhrott
Comment options

Answer selected by bhrott
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
2 participants
Converted from issue

This discussion was converted from issue #4967 on March 30, 2024 19:30.