Giter Site home page Giter Site logo

mongodb-scraper's Introduction

MongoDB Scraper

So accordingly to Shodan, there are more than 30k Mongodb instances publicly available, running on the standard port. Many of them are running with default settings (ie no authentication required).

What if we start scraping them all and dump the passwords?

Requirements

pip install pymongo
pip install colorlog

Usage

First of all create a data.json file, including a JSON encoded array of IPs:

["123.456.789", "987.654.321"]

If you have downloaded a report from Shodan, you can easily parse it using the script file parse_data.py.
Then simply run the scraper using the following command:

python mongodb-scaper.py

You can supply a comma separate list of IPs as an additional argument --skip to manually check some IPs as processed and thus exlude them from the stack

python mongodb-scraper.py --skip "123.123.123,123.456.789"

Get alerts on juicy results

If you want to get an email when you find some BIG DUMP (default when there are more than 1M of rows), simply copy the settings-dist.json file and rename it to settings.json, filling all the fields.

mongodb-scraper's People

Contributors

tampe125 avatar dmuhs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.