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

Broken output after updating to 1.6.7. #1858

Closed
KarahanGuner opened this issue Aug 7, 2024 · 2 comments · Fixed by #1861
Closed

Broken output after updating to 1.6.7. #1858

KarahanGuner opened this issue Aug 7, 2024 · 2 comments · Fixed by #1861
Assignees
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@KarahanGuner
Copy link

httpx version:

1.6.7

Current Behavior:

When I pipe an input file into Httpx, and write its output to another file like this:
cat domains.txt | httpx > httpxresults.txt
There are empty lines at the beginning of the output file:
domainst.txt:

example.com
test.com
hackerone.com
bugcrowd.com

httpxresults.txt:




https://hackerone.com
https://example.com
https://bugcrowd.com

Expected Behavior:

httpxresults.txt file should look like this:

https://hackerone.com
https://example.com
https://bugcrowd.com

Steps To Reproduce:

Create the input file I mentioned before run the command I provided.

Anything else:

  • This behaviour started happening after updating to this version.
  • This behaviour is not happening in the -silent mode.
  • There was a problem with Nuclei's output in its latest version also but I dont know if the root cause is the same.
  • It used to be that after the scan is finished, it would create a new line. Now it doesnt do that. This doesnt affect me but I thought it might help to solve the problem.
    image
@KarahanGuner KarahanGuner added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Aug 7, 2024
@dogancanbakir dogancanbakir self-assigned this Aug 7, 2024
@KarahanGuner
Copy link
Author

I looked through my command history and I think the last time I had updated Httpx was around 2024-07-19 . That version was working fine. Today I updated it again and the problem started. I hope this helps you pinpoint the problem.

@dogancanbakir dogancanbakir linked a pull request Aug 8, 2024 that will close this issue
@ehsandeep ehsandeep added the Status: Completed Nothing further to be done with this issue. Awaiting to be closed. label Aug 9, 2024
@ehsandeep
Copy link
Member

This is now fixed in latest release - https://github.com/projectdiscovery/httpx/releases/tag/v1.6.8

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: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants