Giter VIP home page Giter VIP logo

xcavator's Introduction

xcavator

A network data locater using credentials obtained during penetration tests.

Xcavator is a tool that scans a range of IP addresses for services that host files (FTP, FTPS and SMB at the moment) and for given credentials it will try to download everything it can and scan within the files for interesting strings.

Another mode is to download only those files that their filenames match a RegEx.

Developed by Nikos Laleas, nikos d0t laleas at nccgroup d0t com

Released under AGPL. See LICENSE for more information.

Prerequisites

Python 3.3 and [[https://pypi.python.org/pypi/pysmb | pysmb]]

Options

All the necessary parameters are picked up from a config file witch is created and populated on the first run.

#####Config file example

[SMB]
user = h4x0r
pass = 123456
regex = \bpassword\b
port = 445
range = 192.168.1.1-192.168.1.15, 10.10.10.0/24

There are also additional optional arguments:

  -h, --help                      show this help message and exit
  
  -c CONFIG, --config CONFIG      Config file (Default: xcavator.conf)
  
  -t TIMEOUT, --timeout TIMEOUT		Timeout in seconds (Default: 2s)
  
  -s, --search                    Search mode. Searches recursively for filenames
                                  matching RegEx instead of downloading everything
                                  (Default: downloads everything and scans for strings)
                                  
  -v, --verbose                   Verbosity level. More "v"s, more detail. (Default: Prints basic info)

Adding new protocols

In order to support new protocols you need to create a file named protocolname_proto.py in the 'protocols' directory. Have a look at 'sample_proto.py'. Finally, edit the 'xcavator.py' and add the protocol name and the default port to the correspondent lists.

xcavator's People

Contributors

nickthegreek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.