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

New feature to display / filter / match against line count of the response "body" #453

Closed
zeroc00I opened this issue Dec 6, 2021 · 2 comments · Fixed by #468 or #486
Closed

New feature to display / filter / match against line count of the response "body" #453

zeroc00I opened this issue Dec 6, 2021 · 2 comments · Fixed by #468 or #486
Assignees
Labels
Priority: Medium This issue may be useful, and needs some attention. 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.
Milestone

Comments

@zeroc00I
Copy link

zeroc00I commented Dec 6, 2021

I was thinking that would be awesome if line number parameter could be accepted as content-length.
i mean, the tool could allow a user requires line numbers retrieve from the http requests to the target

Line numbers are fairly used on tools like ffuf.
I've used httpx alot and i think that only this parameter is currently missing to be a full tool to bug hunters =)

Thank you

@zeroc00I zeroc00I added the Type: Enhancement Most issues will probably ask for additions or changes. label Dec 6, 2021
@ehsandeep ehsandeep changed the title flag line number -ln New flag to filter / match against line count of the response "body" Dec 16, 2021
@ehsandeep ehsandeep changed the title New flag to filter / match against line count of the response "body" New feature to display / filter / match against line count of the response "body" Dec 16, 2021
@ehsandeep
Copy link
Member

echo https://example.org | ./httpx -path wordlist.txt -line-count

https://example.org/1 [47]
https://example.org/2 [47]
https://example.org/3 [47]
echo https://example.org | ./httpx -path wordlist.txt -mlc 47

https://example.org/1 [47]
https://example.org/2 [47]
https://example.org/3 [47]
echo https://example.org | ./httpx -path wordlist.txt -flc 47

Flags:

   -lc, -line-count     Display Response body line count
   -mlc, -match-line-count    Match Response body line count
   -flc, -filter-line-count    Filter Response body line count

@ehsandeep ehsandeep added the Priority: Medium This issue may be useful, and needs some attention. label Dec 16, 2021
@ehsandeep ehsandeep added this to the v1.1.5 milestone Dec 19, 2021
@Mzack9999 Mzack9999 self-assigned this Dec 31, 2021
@Mzack9999 Mzack9999 linked a pull request Dec 31, 2021 that will close this issue
@Mzack9999 Mzack9999 added the Status: Review Needed The issue has a PR attached to it which needs to be reviewed label Dec 31, 2021
@ehsandeep ehsandeep added Status: Completed Nothing further to be done with this issue. Awaiting to be closed. and removed Status: Review Needed The issue has a PR attached to it which needs to be reviewed labels Jan 4, 2022
@ehsandeep
Copy link
Member

@zeroc00I this is now supported in dev version with the following PR - #468

we have added both, line count and word count support.

@ehsandeep ehsandeep linked a pull request Jan 10, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium This issue may be useful, and needs some attention. 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
3 participants