Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't add Host header if unsafe is true #1069

Merged
merged 2 commits into from
Oct 4, 2021
Merged

Don't add Host header if unsafe is true #1069

merged 2 commits into from
Oct 4, 2021

Conversation

sullo
Copy link
Contributor

@sullo sullo commented Sep 30, 2021

Do not add Host header if unsafe: true is set.

This will prevent nuclei from adding it when the template author doesn’t want it, but add it if if missing from a safe raw request.

Templates using raw requests without Host header were modified in projectdiscovery/nuclei-templates#2784

…ed unsafe.

This will prevent nuclei from adding it when the template author doesn’t want it and uses unsafe: true
Templates using raw requests without Host header were modified in projectdiscovery/nuclei-templates#2784
@ehsandeep ehsandeep merged commit 7d05446 into projectdiscovery:dev Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants