bitquark / shortscan

An IIS short filename enumeration tool
MIT License
712 stars 67 forks source link

Header examples #1

Closed irsdl closed 1 year ago

irsdl commented 1 year ago

Could you please add more examples to the README about adding multiple headers or how to send a request to an IP with a different HOST header?

bitquark commented 1 year ago

You can add multiple headers by using -H multiple times (e.g. shortscan -H One: abc -H Two: def ...). It's documented in --help but I'll update the readme too.

Regarding setting a different Host header, it looks like the HTTP library doesn't overwrite it when provided with a new header value, I'll take a look and see what I can do!

bitquark commented 1 year ago

I've added some code to handle setting the Host header and added some additional examples to the documentation. That should to the trick!