Code Monkey home page Code Monkey logo

pandorasbox's Introduction

PandorasBox

Pandoras Box is a tool to find Enterprise Box accounts and enumerate for shared files and folders

Writeup can be found here: adversis.io

Pre-Requisites

Non-Standard Python Libraries:

  • requests
  • argparse
  • xmltodict

Created with Python 3.6

Install with virtualenv

source venv/bin/activate
pip install -r requirements.txt

General

This tool can be used to enumerate for companies that currently have a Box enterprise account, and then to brute force files and folders inside those account that are shared publicly.

-l : Feed a line delimited target list to check for a Box account and begin enumeration.

-w : Feed a word list to brute force documents in the identified target Box account.

-t switch, you can set the number of threads you want to use. Be careful here, Box does enforce rate limiting and your IP may get blocked.

-v : Verbose logging

-s : By supplying a Slack WebHook URL, you can send results to Slack.

-c : You can give the tool a known shared Box file. This allows the tool to verify access to Box, if access to the known Box is denied, then Box is rate limiting your requests and you will need to change you IP. The defaul Box belongs to Dell and was found by a Google Dork. If this Box file gets taken down, a new Box file will have to be supplied. A work around would be to simply put google.com here.

The example worlist is an exact copy of: https://github.com/first20hours/google-10000-english/blob/master/google-10000-english.txt

Usage:

usage: pandoras_box.py [-h] -l TARGETLIST [-w WORDLIST] [-v] [-t THREADS]
                       [-s WEBHOOK_URL] [-c LOCKOUT_CHECK]

optional arguments:
  -h, --help        show this help message and exit
  -l TARGETLIST     Provide a list of targets to check Box accounts for.
  -w WORDLIST       Provide a wordlist for the file/folder bruteforce.
  -v                Output all webrequests to logfile. Caution size!
  -t THREADS        Number of threads.
  -s WEBHOOK_URL    Slack Web Hook URL
  -c LOCKOUT_CHECK  URL of known shared Box account to verify you are not
                    being blocked.

pandorasbox's People

Contributors

random-robbie 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.