Virtual Hosts
curl -s http://example.com downloads html page
curl -s http://example.com -H "Host: exampleheader.com" sends a curl request to a domain previously identified during the information gathering in the HOST header.
Automate vhosts names discovery with a dictionary file
app
blog
dev-admin
forum
help
m
my
shop
some
store
support
wwwvHost Fuzzing
cat ./vhosts | while read vhost;do echo "\n********\nFUZZING: ${vhost}\n********";curl -s -I http://example.com -H "HOST: ${vhost}.exampleheader.com" | grep "Content-Length: ";doneUse cURL to access the identified virtual host (ex: dev-admin)
curl -s http://example.com -H "Host: dev-admin.exampleheader.com"
Automating Virtual Hosts Discovery with ffuf
where:
w: Path to our wordlistu: URL we want to fuzzH "HOST: FUZZ.exampleheader.com": This is theHOSTHeader, and the wordFUZZwill be used as the fuzzing point.fs 612: Filter responses with a size of 612, default response size in this case.