User agent changes

Issue #265 closed
nikitako
created an issue

Hi! Thanks for a cool software. I have notices issue which I guess triggers google for a quicker captcha: the browser agent changes: I setup: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 yes But I see through burp that it sends in a header: Lynx/2.8.8dev.3 libwww-FM/2.14 SSL-MM/1.4.1

Can you look into it. I'm using recon/domain-vulnerabilities/GHDB module thanks!

Comments (3)

  1. Tim Tomes repo owner

    Yep. This is expected. The reason is because of the way Google dynamically responds to different user agents. The hard coded Lynx user agent is the only one that provides a parsable response. Most other user agents receive a lot of JavaScript which must be parsed and execute by a browser to form the information needed by the module. There's no good way to do that in pure python, so It has to be this way.

  2. Log in to comment