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

[Bug] optional skip for unresponsive hosts (host:port) for path scans #359

Closed
Mzack9999 opened this issue Aug 14, 2021 · 1 comment · Fixed by #358 or #370
Closed

[Bug] optional skip for unresponsive hosts (host:port) for path scans #359

Mzack9999 opened this issue Aug 14, 2021 · 1 comment · Fixed by #358 or #370
Assignees
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed.

Comments

@Mzack9999
Copy link
Member

Mzack9999 commented Aug 14, 2021

Example use:-

httpx -l subs.txt -paths apis.txt -max-host-error 10

This will discard all the hosts from subs.txt given the host errored about 10 times, as default this feature is disabled.

Following errors are considered to count for max-host-error flag.

"no address found for host"
"no address found for host (Client.Timeout exceeded while awaiting headers)"
"context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
@Mzack9999 Mzack9999 self-assigned this Aug 14, 2021
@Mzack9999 Mzack9999 added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Aug 14, 2021
@Mzack9999 Mzack9999 linked a pull request Aug 14, 2021 that will close this issue
@ehsandeep ehsandeep added Type: Enhancement Most issues will probably ask for additions or changes. Status: In Progress This issue is being worked on, and has someone assigned. labels Aug 15, 2021
@ehsandeep ehsandeep changed the title [Bug] Skip remaining paths on unresponsive host:port combination [Bug] optional skip for unresponsive hosts (host:port) for path scans Aug 15, 2021
@ehsandeep ehsandeep removed the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Aug 15, 2021
@Mzack9999 Mzack9999 added Status: Review Needed The issue has a PR attached to it which needs to be reviewed and removed Status: In Progress This issue is being worked on, and has someone assigned. labels Aug 16, 2021
@ehsandeep ehsandeep added Status: Completed Nothing further to be done with this issue. Awaiting to be closed. and removed Type: Enhancement Most issues will probably ask for additions or changes. Status: Review Needed The issue has a PR attached to it which needs to be reviewed labels Aug 16, 2021
@ehsandeep ehsandeep linked a pull request Aug 17, 2021 that will close this issue
@Autumn-27
Copy link

How to disable this feature

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.
Projects
None yet
3 participants