-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Status: CompletedNothing further to be done with this issue. Awaiting to be closed.Nothing further to be done with this issue. Awaiting to be closed.Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.
Description
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.

Metadata
Metadata
Assignees
Labels
Status: CompletedNothing further to be done with this issue. Awaiting to be closed.Nothing further to be done with this issue. Awaiting to be closed.Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.