Home Hacking Tools NoSQLMap – Open Source Audit and Attack NoSQL Databases

NoSQLMap – Open Source Audit and Attack NoSQL Databases

by Unallocated Author

NoSQLMap is an open source python based tool, designed to audit and automate injection attacks on NoSQL databases, such as Mongo DB and Couch DB. It can find and exploit various different vulnerabilities in order to disclose data from a site.

Installing NoSQLMap

For installing NoSQLMap, you have to clone the repository from Github.

git clone https://github.com/codingo/NoSQLMap.git

After that, install the python script.

cd NoSQLMap/

python setup.py install

You are good to go now.

Running NoSQLMap

Type the command below to run the tool.

python nosqlmap.py

The interface is easy to read and self-explanatory, but let’s see some basic commands anyway.

Always the first thing you need to check is the first option. Press ‘1‘ and type the options of your target. The basic options are;

  • Set Options for target host IP
  • Set Local MongoDB/Shell IP
  • Set Local Port
  • b – save option file
  • x – Exit

When these options are set, go back to the main interface and type ‘2‘ to list all the access attacks you can use.

  • 1 – Get Server Version and Platform
  • 2 – Enumerate Databases/Collections/Users
  • 3 – Check for GridFS
  • 4 – Clone a Database
  • 5 – Launch Metasploit exploit for MongoDB
  • 6 – Return to Main Menu

As you can see the commands above are pretty easy to use, just type the number of the attack you want to perform and the framework will automate the attack for you.

Give it some time searching all the different attacks and their outputs. This tool is very easy to use after some exploration.

What Bunny rating does it get?

I think NoSQLMap is a must for vulnerability assessment and exploitation of NoSQL databases. Many times you will be in a position that you don’t have the time to go through all the data in a database. Tools like this can provide great value, if used correctly. For this tool I am giving it a 4 out 5 bunnies.

Want to learn more about ethical hacking?

We have a  networking hacking course that is of a similar level to OSCP, get an exclusive 95% discount HERE

Do you know of another GitHub related hacking tool?

Get in touch with us via the contact form if you would like us to look at any other GitHub ethical hacking tools.

You may also like

Latest Hacking News

Privacy Preference Center

Necessary

The __cfduid cookie is used to identify individual clients behind a shared IP address and apply security settings on a per-client basis.

cookie_notice_accepted and gdpr[allowed_cookies] are used to identify the choices made from the user regarding cookie consent.

For example, if a visitor is in a coffee shop where there may be several infected machines, but the specific visitor's machine is trusted (for example, because they completed a challenge within your Challenge Passage period), the cookie allows Cloudflare to identify that client and not challenge them again. It does not correspond to any user ID in your web application, and does not store any personally identifiable information.

__cfduid, cookie_notice_accepted, gdpr[allowed_cookies]

Advertising

DoubleClick by Google refers to the DoubleClick Digital Marketing platform which is a separate division within Google. This is Google’s most advanced advertising tools set, which includes five interconnected platform components.

DoubleClick Campaign Manager: the ad-serving platform, called an Ad Server, that delivers ads to your customers and measures all online advertising, even across screens and channels.

DoubleClick Bid Manager – the programmatic bidding platform for bidding on high-quality ad inventory from more than 47 ad marketplaces including Google Display Network.

DoubleClick Ad Exchange: the world’s largest ad marketplace for purchasing display, video, mobile, Search and even Facebook inventory.

DoubleClick Search: is more powerful than AdWords and used for purchasing search ads across Google, Yahoo, and Bing.

DoubleClick Creative Solutions: for designing, delivering and measuring rich media (video) ads, interactive and expandable ads.

doubleclick

Analytics

The _ga is asssociated with Google Universal Analytics - which is a significant update to Google's more commonly used analytics service. This cookie is used to distinguish unique users by assigning a randomly generated number as a client identifier. It is included in each page request in a site and used to calculate visitor, session and campaign data for the sites analytics reports. By default it is set to expire after 2 years, although this is customisable by website owners.

The _gat global object is used to create and retrieve tracker objects, from which all other methods are invoked. Therefore the methods in this list should be run only off a tracker object created using the _gat global variable. All other methods should be called using the _gaq global object for asynchronous tracking.

_gid works as a user navigates between web pages, they can use the gtag.js tagging library to record information about the page the user has seen (for example, the page's URL) in Google Analytics. The gtag.js tagging library uses HTTP Cookies to "remember" the user's previous interactions with the web pages.

_ga, _gat, _gid