maurosoria / dirsearch

Web path scanner
12.09k stars 2.31k forks source link

Headers option does not properly set header host #139

Closed Hex27 closed 5 years ago

Hex27 commented 5 years ago

Example: dirsearch.py -u https://10.10.10.123 -H "Host: administrator1.friendzone.red" -e php Does not actually set the Host header to what was parsed. Instead, the ip 10.10.10.123 is used.

I manually made a change to the program so host is properly set via the headers argument, but I'm unsure if I'm using the program wrongly in the first place.

maurosoria commented 5 years ago

Hi Hex27, you should use it this way: dirsearch.py -u https://administrator1.friendzone.red --ip 10.10.10.123 -e php

Tell me if it worked!

Hex27 commented 5 years ago

Yep, it works. Thanks!