-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
changing host header does not work #1707
Comments
Just tried to replicate it, everything is working fine, maybe try generating with |
Oh I did not use wininet driver, can you try without that? |
Yes seems like a bug, I don't have the time right now but maybe others can look into it.
I don't see any references to |
I had a very similar problem, but with Cloudflare instead of Azure. I solved it by removing the
|
Do you have any ideas on how I'd do this using CloudFront? |
Hey, is there any update on this maybe? |
Describe the bug
I have a frontdoor setup on azure for domain fronting (for example: frontdoor.azureedge.net), when generating an http/s payload and setting the host-header to the azure domain, it does not set it up when the payload is executed.
To Reproduce
Steps to reproduce the behavior:
generate --http ajax.microsoft.com/api?driver=wininet&host-header=frontdoor.azureedge.net --skip-symbols
Expected behavior
the host header should be: frontdoor.azureedge.net with the domain of ajax.microsoft.com.
Screenshots
The request sent from the payload:
Working request to the azure frontdoor by setting the host header manually:
Desktop (please complete the following information):
Additional context
Even tried to change the code manually (eventhough I'm so sure about), set the req.Host = "frontdoor.azureedge.net".
But it had not effect on the request.
The text was updated successfully, but these errors were encountered: