httpx giving false positive results
httpx version:
httpx (v1.3.9)
Current Behavior:
When utilizing the following command to retrieve status codes:
httpx -u https://twitter.com/nanicyb -sc
The tool occasionally outputs both 200 and 400 status codes upon multiple executions.
Expected Behavior:
It is suggested that the tool should consistently display the exact status code for a given URL, providing unambiguous information. For instance, executing the command should ideally result in a clear output such as https://twitter.com/nanicyb is 200.
Steps To Reproduce:
Anything else:
The current behavior may lead to confusion for users relying on httpx as a trustworthy tool for status code information. Updating the tool to consistently provide precise results would enhance its usability and save users' time.
I appreciate your attention to this matter and look forward to any improvements that can be made in future releases.
Thank you for your time and dedication to maintaining the httpx tool.
To temporarily fix the issue of the target blocking a randomly assigned user agent, you can use the -random-agent false option -this might not work every time. We are working to replace the current library with https://github.com/projectdiscovery/useragent soon to prevent such issues from happening in the future.
depends on https://github.com/projectdiscovery/useragent/pull/108
To temporarily fix the issue of the target blocking a randomly assigned user agent, you can use the
-random-agent falseoption -this might not work every time. We are working to replace the current library with https://github.com/projectdiscovery/useragent soon to prevent such issues from happening in the future.
I used the flag -random-agent false but that too has same issue.
How could i solve the issue and get exact status code ? I mean it's difficult to check thousands of urls manually
As previously mentioned, we will resolve this problem once we merge https://github.com/projectdiscovery/useragent/pull/108. We appreciate your patience as we work on resolving the issue.
As previously mentioned, we will resolve this problem once we merge projectdiscovery/useragent#108. We appreciate your patience as we work on resolving the issue.
Ok sir that's fine :) Hoping to resolved it soon. So does it comes under a bug category, I mean will it be accepted if we submit at H1 ?
Regarding your question, the problem you mentioned does not fall under the category of a security issue/bug, so there wouldn't be any need to submit it at H1. But, thank you for opening this issue!
Hi team,
I think still issue was not fixed
@aravindb26, This fix will be in the next release -you're still using the previous version.