Repository navigation
sdk cannot get the favicon hash, cli ok. #2170
Replies: 4 comments 1 reply
|
sdk version github.com/projectdiscovery/httpx v1.7.0 |
0 replies
|
Oddly enough, the same issue is present within 1.6.10. Also a bit confused as to how this is happening as both httpx binary and use of the runner pkg use RunEnumeration(), so code paths should be the same. 😕 |
0 replies
|
Going down the rabbit hole (folowing the httpx.DO path), if I set the max body size in the api, it works. Looking at goflags in cmd/httpx/httpx.go, there is a default value set. TL;DR - if you want favicon hashes using the project as a pkg - set the default body size to read. :) |
1 reply
|
Fixed in #2705. The library now defaults the response body size the same way the CLI does, so |
0 replies
Answer selected by
dogancanbakir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Fixed in #2705. The library now defaults the response body size the same way the CLI does, so
Favicon: truereturns the hash without settingMaxResponseBodySizeToRead. Out in the next release.