tomnomnom / meg

Fetch many paths for many hosts - without killing the hosts
MIT License
1.59k stars 266 forks source link

net/url: invalid control character in URL #42

Open zoemurmure opened 5 years ago

zoemurmure commented 5 years ago

I got this error while using meg on Windows. I guess it because the \r\n at the end of each line of hosts file. Can you fix this?

zoemurmure commented 5 years ago

Sorry for the misunderstood, it seems that the output of both "assetfinder --subs-only example.com > domains" and "cat domains | httprobe > hosts" commands contains "invalid control character", which leads to the error message while executing "meg -d 1000 -v". I can't see any curious characters in Notepad++. Not sure if it's the \r\n which causes the problem.