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

Add Feature to discover backup files. #200

Closed
wants to merge 8 commits into from
Closed

Conversation

IppSec
Copy link

@IppSec IppSec commented Dec 31, 2019

Added the -d flag to DiscoverContent. This will take all files with a 200 HTTP Response and then mutate the file to find backup copies.

Example:
index.php ->

  • index.php~
  • index.php.bak
  • index.bak
  • .index.php.swp

@firefart
Copy link
Collaborator

firefart commented Jan 3, 2020

@IppSec thanks for your contribution! I think we already have this implemented in the v3.1-working branch over here https://github.com/OJ/gobuster/tree/v3.1-working with the new --pattern option:
https://github.com/OJ/gobuster/tree/v3.1-working#patterns

Does that fit?

@IppSec
Copy link
Author

IppSec commented Jan 3, 2020

I think they are different but I don’t fully understand the pattern option.

The main difference is this generates the wordlist based upon found files, whereas pattern applies it to everything in the dirlist. Additionally, I don’t think patterns supports removing extension then appending items.

@firefart
Copy link
Collaborator

firefart commented Jan 3, 2020

Oh ok so it only searches backups for found files, missed that. Can you please rebase the branch on the v3.1-working branch as this is the current development version? Thanks!

@IppSec IppSec changed the base branch from master to v3.1-working January 3, 2020 18:39
@IppSec IppSec changed the base branch from v3.1-working to master January 3, 2020 18:44
@IppSec
Copy link
Author

IppSec commented Jan 3, 2020

Created #201 to rebase against my v3.1 branch.

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

Successfully merging this pull request may close these issues.

2 participants