sensepost / gowitness

🔍 gowitness - a golang, web screenshot utility using Chrome Headless
GNU General Public License v3.0
3.16k stars 345 forks source link

Does not redirect to HTTPS #44

Closed merati closed 4 years ago

merati commented 4 years ago

I'm running the script using the file command, and have lots of URLs in my target file. The problem is when the URL is http://x.x.x.x and the response is a redirect to https://x.x.x.x, the script doesn't follow the redirect which results in lots of blank png files.

leonjza commented 4 years ago

You could preprocess your input files using something like httpx and then pipe the results to gowitness. For example: https://twitter.com/pdiscoveryio/status/1293918612722348034