Skip to content

ShadowDev01/BackupX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✨ Intro

BackupX — generate smart, pattern-based wordlists to fuzz and kill backup files automatically.

  • Read targets from:

    • 🌐 URL
    • 📄 File of URLs
    • 📥 STDIN

🚀 Features

  • 🔄 Customizable Patterns (use $ or % to denote variables)
  • 🔢 Numeric, 📅 Date and 📋 Wordlist support
  • ⚙️ Multi-threaded for blazing speed
  • 📦 Docker-ready

⚙️ Installation Build Status Julia Version

1. Using Julia

1. Native Julia

  1. Install Julia (via download page or snap install julia --classic).

  2. Clone & Run:

    git clone https://github.com/ShadowDev01/BackupX.git
    cd cd BackupX/
    julia --project -e "using Pkg; Pkg.instantiate()"
    julia BackupX.jl -h

2. Docker

git clone https://github.com/ShadowDev01/BackupX.git
cd BackupX/
docker build -t backupx .
docker run backupx

🛠️ Usage & Switches

Switch Short Description
Help -h Show help message and exit
URL -u Specify a single URL
File -ul File containing multiple URLs
STDIN -s Read URLs from standard input
Pattern -p JSON file with patterns
Word -w Wordlist file
Ext -e Extensions file
Num -n Number range (e.g., 1-100)
Year -y Year range (e.g., 2022-2023)
Month -m Month range (e.g., 1-12)
Day -d Day range (e.g., 1-30)
Output -o Save output to file (default: stdout)

Tip: adjust threads with -t N when invoking Julia:

julia -t 4 BackupX.jl [switches]

📋 Examples

  1. Generate from URL + patterns + full word/num/date ranges

    julia BackupX.jl \
      -u https://sub1-sub2.sub3.domain.tld \
      -p patterns.json \
      -w wordlist.txt \
      -e extensions.txt \
      -n 1-100 \
      -y 2021-2023 \
      -m 1-12 \
      -d 1-30
  2. Bulk URLs from file

    julia BackupX.jl -ul targets.txt -p patterns.json -w words.txt -e exts.txt -n 1-50
  3. Pipe URLs via STDIN

    cat urls.txt | julia BackupX.jl -s -p patterns.json -w words.txt

🔣 Supported Variables

Use $var or %var in your patterns. Available variables:

scheme    username  password  host     subdomain  domain    tld       port
path      directory file      fileN    fileE      query     fragment  word
ext       num       y         m        d

📐 Example patterns.json

{
  "patterns": [
    "$domain.$ext",
    "$host.$ext",
    "$subdomain.$domain.$ext",
    "$host%num.$ext",
    "$file.$ext",
    ".$file",
    ".$domain.$ext",
    "$directory/.$file.$ext",
    "$word.$ext"
  ],
  "date-formats": [
    "$domain.%y.$ext",
    "$domain.%y-%m-%d.$ext",
    "$host.%y%m%d.$ext",
    "$directory/%y-%m-%d.$ext"
  ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •