gotr00t0day / spyhunt

recon for bug hunters
429 stars 95 forks source link

error concerning user agents #19

Closed mayormaynotbeano closed 4 months ago

mayormaynotbeano commented 4 months ago

Error occurs when the random.choice uses: "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36 Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10",

which is the longest in the useragent script. Trying to rerun, but it keeps using this user agent. Could it be too long? and could Random be replaced with secrets? I made a pull for this :)

gotr00t0day commented 4 months ago

what error do you get?

mayormaynotbeano commented 4 months ago

413 - Entity too large. The random module also chokes on that user agent, as mentioned in my tests in one of the pull requests.

gotr00t0day commented 4 months ago

I'll remove that one from the list

gotr00t0day commented 4 months ago

Fixed ;)

mayormaynotbeano commented 4 months ago

Fixed ;)

THANKS!!