Skip to content

A Recon tool to search, authenticate, and recursively download mongodb databases.

License

Notifications You must be signed in to change notification settings

kathuluman/mongosmash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mongosmash Version Python Version

Overview

MongoSmash is a Python tool designed to scan a list of IP addresses, attempt to authenticate with MongoDB instances, and recursively download their databases if access is granted without authentication.

Features

  • IP Address Scanning: Efficiently scans a list of provided IP addresses.
  • MongoDB Authentication Attempts: Tries to authenticate with each IP address.
  • Recursive Database Download: Downloads databases recursively upon successful authentication.
  • Logging: Detailed logging with Rich for better readability.
  • Multithreading: Uses multiple threads to speed up the scanning process.

Installation

  1. Clone the Repository:

    git clone https://github.com/kathuluman/mongosmash.git
    cd mongosmash
  2. Install Dependencies:

    pip install -r requirements.txt

Usage

  1. Prepare the IP List: Create a text file containing the list of IP addresses, one per line.

  2. Run the Tool:

    python3 mongosmash.py

    You will be prompted to enter the path to the file containing IP addresses and the number of threads to use.

Example

$ python mongosmash.py
Enter the path to the file containing IP addresses: ips.txt
Enter the number of threads to use: 10

Configuration

  • Logging: Logs are displayed in the console using Rich.
  • Directories: Data is stored in the .mongosmash/collections directory.

About

A Recon tool to search, authenticate, and recursively download mongodb databases.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages