Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove tech-detect info from default output to stdout #1730

Closed
lappsec opened this issue May 28, 2024 · 3 comments · Fixed by #1732
Closed

Remove tech-detect info from default output to stdout #1730

lappsec opened this issue May 28, 2024 · 3 comments · Fixed by #1732
Assignees
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Enhancement Most issues will probably ask for additions or changes.

Comments

@lappsec
Copy link

lappsec commented May 28, 2024

Please describe your feature request:

Starting in either 1.6.1 or 1.6.2 the default output to stdout includes the info from --tech-detect. While this info is useful in certain scenarios, it goes against the streamlined integration with other tools/utilities that httpx and other projectdiscovery tools are known for. Now it's required to add the -tech-detect=false flag every time you use httpx and want to pipe the output to another tool or just copy the URL list without extra data.

This feature request is requesting that the default output be changed back to how it was in 1.6.0 and prior, removing the tech-detect info from stdout by default and only including it when the --tech-detect flag is used.

Here's a screenshot of an example of the behaviour pre and post upgrade
httpx

Describe the use case of this feature:

I know it's a minor annoyance, but when trying to integrate httpx with other tools and workflows it makes much more sense to include the additional information only when the user requests it rather than by default.

@lappsec lappsec added the Type: Enhancement Most issues will probably ask for additions or changes. label May 28, 2024
@ehsandeep
Copy link
Member

ehsandeep commented May 28, 2024

@lappsec we meant to enable it for JSONL / CSV output as default, not on the CLI, so this looks like bug and will be fixed / update asap, thanks for flagging.

For the time being, default behavior can be disabled as below.

echo hackerone.com | httpx -td=false

@lappsec
Copy link
Author

lappsec commented May 28, 2024

Sounds good. Thanks for the quick response!

@ehsandeep
Copy link
Member

this is now fixed in latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants