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

Gobuster dir, filter by content instead of status code #288

Open
kscieslinski opened this issue Mar 15, 2021 · 2 comments
Open

Gobuster dir, filter by content instead of status code #288

kscieslinski opened this issue Mar 15, 2021 · 2 comments

Comments

@kscieslinski
Copy link

Hi, I cannot find an option to force gobuster in directory mode to filter negative/positive responses by the content instead of just status codes.

Let's say the site responds for non existing endpoint with example response

HTTP/1.1 200 OK
Date: Mon, 15 Mar 2021 10:28:13 GMT
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.1
Content-Length: 1234
Content-Type: text/html; charset=UTF-8

Not found

In such case I would like to tell gobuster to treat Not found string as a negative server response. I think that filtering by content length would be a useful feature too.

This looks like quite popular issue and I believe that I might be just missing some flags :)

@zsahi
Copy link

zsahi commented Mar 9, 2023

Dear, did you found any solution for this ? I am also facing same challenge, and want to exclude reponses based on keyword in response.

@lowusage
Copy link

lowusage commented Jun 1, 2024

I know this is a little bit old, but this functionnality is asked in #5.

It doesn't look so bad to implement, might take a look myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants