projectdiscovery / httpx

httpx is a fast and multi-purpose HTTP toolkit that allows running multiple probes using the retryablehttp library.
https://docs.projectdiscovery.io/tools/httpx
MIT License
7.75k stars 843 forks source link

`httpx -probe` does not work with `-json` or `-csv` #1963

Open ola456 opened 4 weeks ago

ola456 commented 4 weeks ago

httpx version:

v1.6.9

Current Behavior:

-probe does not work with JSON or CSV output formats.

Expected Behavior:

JSON/CSV output should include probe status.

Steps To Reproduce:

  1. stdout: echo '168-this-does-not-exist.com' | httpx -sr -probe
  2. Probe status is displayed.
  3. json: echo '169-this-does-not-exist.com' | httpx -sr -probe -json
  4. No output is displayed.

Anything else:

Image