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

module http/https, inccorrect 'Host' HTTP header when using IPv6 (-6) #111

Open
sltrash opened this issue Jun 30, 2021 · 0 comments
Open

Comments

@sltrash
Copy link

sltrash commented Jun 30, 2021

Hello,

When enabling IPv6 cracking with the http/https module, the 'Host' HTTP header sent is 'Host: a:b.c:d' instead of 'Host: servername' as it is with IPv4:

ncrack slt01.hqr.fi:80 -m http,path=/ --user test --pass test

results in the following first request:

GET / HTTP/1.1
Host: slt01.hqr.fi

and with IPv6:
ncrack -6 slt01.hqr.fi:80 -m http,path=/ --user test --pass test

results in the following first request

GET / HTTP/1.1
Host: 2001:bc8:3d1d:1ab0::bee

Obviously this prevents ncrack from working correctly on Virtual Hosts! :-(

Is it something easily fixable?

Thanks in advance!

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

No branches or pull requests

1 participant