Skip to content

BaseURL as http and https #488

Closed Answered by ehsandeep
Ncoder2 asked this question in Q&A
Jan 22, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey @Ncoder2,

Nuclei accept URL as an input to run HTTP based templates.

is there a way to tell nuclei to scan both http and https of the baseURL ?

No this is not supported as we have dedicated projects to do this, you can simply put httpx in between which will probe the URLs and pass them to nuclei to process it.

httpx -l subs.txt | nuclei -t tempaltes_to_run

If you want to run nuclei on both HTTP and HTTPS versions of the website you can do it using the no-fallback flag in httpx.

httpx -l subs.txt -no-fallback | nuclei -t tempaltes_to_run

Replies: 1 comment 1 reply

Comment options

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

Answer selected by ehsandeep
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