Skip to content
New issue

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

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

Already on GitHub? # to your account

Add "grep" support for web pages #5

Open
OJ opened this issue Jul 22, 2015 · 1 comment
Open

Add "grep" support for web pages #5

OJ opened this issue Jul 22, 2015 · 1 comment

Comments

@OJ
Copy link
Owner

OJ commented Jul 22, 2015

It'd be handy to add a "grep" like feature that let's the users filter the results based on pages that have certain content. For example, if you're interested in pages that return a 200 status code that also have the word login in them.

@gehaxelt
Copy link
Contributor

gehaxelt commented Oct 3, 2016

Hey,
I think the best idea would be to let the user pass a regular expression (e.g. -regex) and apply it to all dns / dir results?

Two ideas of implementing this:

  • Modify MakeRequest to return the full body and apply the regex before printing the results. This would allow more verbosity, e.g. something like Found /XY, but didn't match the filter
  • Apply the regex after calculating the length in the MakeRequest and set an invalid status code.

Any other ideas?

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants