Skip to content

MuhammadWaseem29/BackupFinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

47 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

BackupFinder ❀️

Good Day!

I truly hope everything is awesome on your side of the screen! 😊

BackupFinder discovers backup files on web servers by generating intelligent patterns.
It creates thousands of potential backup file names based on your target domain.
Perfect for penetration testing, bug bounty hunting, and security audits.


Some Results

Screenshot 2025-07-26 at 3 20 51β€―AM

Hackerone Disclose Report

For reference, here is an H1 report showing a backup file named after the domain: https://hackerone.com/reports/1516520 Backup file: https://mtn.co.rw/mtn.zip

image

Special Thanks ❀️

Thanks to everyone who made this tool possible:

Thank you to the authors, maintainers, and the security community for your contributions and inspiration!


Requirements

  • Go 1.21 or higher
  • Internet connection for installation

Latest Install Command (Recommended)

go install github.com/MuhammadWaseem29/BackupFinder/cmd/backupfinder@v1.0.2

Installation

go install github.com/MuhammadWaseem29/BackupFinder/cmd/backupfinder@v1.0.2

Manual Installation

git clone https://github.com/MuhammadWaseem29/BackupFinder.git
cd BackupFinder
go build -o backupfinder ./cmd/backupfinder/
sudo mv backupfinder /usr/local/bin/

Verify Installation

# Check version
backupfinder version

# Verify assets are embedded  
backupfinder health-check

# Quick test
backupfinder -u https://example.com --silent | head -3

Usage

Usage:
  backupfinder [flags]

Flags:
INPUT:
  -u, -target string       target URL/domain to scan
  -l, -list string         file containing list of targets

PATTERNS:
  -w, -wordlist            use wordlist mode (comprehensive 1900+ patterns)
  -e, -extensions string   custom extensions file

OUTPUT:
  -o, -output string       file to write output to
      -je string           export to JSON file
      -json                JSON output format
      -silent              show only results
  -v, -verbose             verbose mode

PERFORMANCE:
  -c, -concurrency int     number of concurrent workers (default 10)
      -rate-limit int      rate limit for requests (default 50)
      -timeout int         request timeout in seconds (default 30)
      -retries int         maximum number of retries (default 3)

CONFIGURATION:
      -no-color            disable colored output
      -timestamp           add timestamps to output
      -stats               show statistics (default true)
      -store-resp          store responses
      -store-resp-dir      response storage directory (default "responses")

COMMANDS:
  version                  show version information
  health-check             verify installation and assets
  templates                list available pattern templates
  help                     show this help message

Examples

image

Basic Usage

# Basic scan (92 extension patterns)
backupfinder -u https://admin.microsoft.com


# Comprehensive scan (1907 wordlist patterns)  
backupfinder -u https://admin.microsoft.com -w


# Multiple targets
backupfinder -l targets.txt

Dont miss use -w flag

image

Pattern Generation

# Generate patterns silently for piping
backupfinder -u https://admin.microsoft.com --silent
backupfinder -u https://admin.microsoft.com -w --silent 

# Save to file
backupfinder -u https://admin.microsoft.com -w -o patterns.txt

Output Formats

# Verbose mode with statistics
backupfinder -u https://admin.microsoft.com -w -v

# JSON export
backupfinder -u https://admin.microsoft.com -w --json -o results.json

# Silent mode (perfect for automation)
backupfinder -u https://admin.microsoft.com -w --silent

FFUF Integration

backupfinder -u https://admin.microsoft.com --silent | ffuf -w /dev/stdin -u https://admin.microsoft.com/FUZZ -mc 200,403,500 -t 50
ffuf -w patterns.txt -u https://admin.microsoft.com/FUZZ -mc 200,403,500 -fc 404 -t 50 -o results.txt
image

Integration 😊

Complete Bug Bounty Workflow

# Find subdomains
subfinder -d microsoft.com -silent > subdomains.txt

# Check live targets
cat subdomains.txt | httpx -silent > live_subdomains.txt

# Generate patterns for all subdomains
cat live_subdomains.txt | while read url; do 
    backupfinder -u "$url" --silent >> all_patterns.txt
done

# Scan with ffuf
cat live_subdomains.txt | while read url; do 
    backupfinder -u "$url" --silent | ffuf -w /dev/stdin -u "$url/FUZZ" -mc 200,403,500 -fc 404 -t 50 > results.txt
done

Direct Piping

backupfinder -u https://admin.microsoft.com --silent | ffuf -w /dev/stdin -u https://admin.microsoft.com/FUZZ
backupfinder -u https://admin.microsoft.com --silent | httpx -status-code

Automation Pipeline

subfinder -d microsoft.com -silent | httpx -silent | head -5 | while read url; do 
    backupfinder -u "$url" -w --silent | ffuf -w /dev/stdin -u "$url/FUZZ" -mc 200,403,500 -fc 404 -t 50
done

Multiple Targets

echo -e "https://admin.microsoft.com\nhttps://api.microsoft.com" | while read url; do 
    backupfinder -u "$url" --silent | ffuf -w /dev/stdin -u "$url/FUZZ" -mc 200,403,500 -t 30
done

image

Features

  • 9000+ backup patterns in wordlist mode
  • Smart subdomain handling (admin.example.com β†’ admin.zip, admin-example.sql)
  • Professional JSON export for automation
  • Real-time statistics with performance metrics
  • Concurrent processing for fast pattern generation
  • Custom wordlists support
  • Silent mode for integration with other tools
image

Pattern Types

Extension Mode (Default - 92 patterns)

Common backup extensions: .bak, .backup, .old, .sql, .zip, etc.

Wordlist Mode (-w - 1900+ patterns)

Comprehensive patterns for database dumps, configuration backups, archive variants

Custom Extensions (-e)

Use your own pattern file (one pattern per line, supports # comments)


License

This project is licensed under the MIT License - see the LICENSE file for details.


Getting Help

Author

MuhammadWaseem
GitHub: @MuhammadWaseem29
Tool: BackupFinder v1.0.0


Thank you for using BackupFinder! We appreciate your support! ❀️



May you be well on your side of the screen :)


Star History

Star History Chart

About

BackupFinder discovers backup files on web servers by generating intelligent patterns.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages