Skip to main content

Toolkit for easilly building Metasploit-like framework consoles

Project description

SploitKit Tweet

Make a Metasploit-like console.

PyPi Read The Docs Build Status Coverage Status Python Versions Requirements Status Known Vulnerabilities License Donate

This toolkit is aimed to easilly build framework consoles in a Metasploit-like style. It provides a comprehensive interface to define CLI commands, modules and models for its storage database.

pip install sploitkit

:sunglasses: Usage

From this point, main.py has the following code:

#!/usr/bin/python3
from sploitkit import FrameworkConsole


class MySploitConsole(FrameworkConsole):
    #TODO: set your console attributes
    pass


if __name__ == '__main__':
    MySploitConsole(
        "MySploit",
        #TODO: configure your console settings
    ).start()

And you can run it from the terminal:

:ballot_box_with_check: Features

Sploitkit provides a base set of entities (consoles, commands, modules, models).

Multiple base console levels already exist (for detailed descriptions, see the console section):

  • FrameworkConsole: the root console, started through main.py
  • ProjectConsole: the project console, for limiting the workspace to a single project, invoked through the select [project] command
  • ModuleConsole: the module console, started when a module is invoked through the use [module] command

This framework provides more than 20 base commands, distributed in sets of functionalities (for detailed descriptions, see the command section):

  • general: commands for every level (e.g. help, show, set)
  • module: base module-level commands (e.g. use, run, show)
  • project: base project-level commands (e.g. select, load, archive)
  • recording: recording commands, for managing .rc files (record, replay)
  • root: base root-level commands (help)
  • utils: utility commands (shell, pydbg, memory)

It also holds some base models for its storage:

  • users: for user-related data (User, Email, Password)
  • systems: for system-related data (Host, Port, Service)
  • organization: for organization-related data (Organization, Unit, Employee)
  • notes: for linking notes to users, hosts or organizations

No module is provided with the framework as it is case-specific.

:pencil2: Customization

Sploitkit defines multiple types of entities for various purposes. The following entities can be subclassed:

:clap: Supporters

Stargazers repo roster for @dhondta/python-sploitkit

Forkers repo roster for @dhondta/python-sploitkit

Back to top

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sploitkit-0.5.2.tar.gz (61.7 kB view details)

Uploaded Source

File details

Details for the file sploitkit-0.5.2.tar.gz.

File metadata

  • Download URL: sploitkit-0.5.2.tar.gz
  • Upload date:
  • Size: 61.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for sploitkit-0.5.2.tar.gz
Algorithm Hash digest
SHA256 f4e3b76520dff7220600b0fda6611635b8bdd914b90a55172827d1b65a09043e
MD5 7fe23966ec6aa47450bb69b51e67cafa
BLAKE2b-256 dcc1838ce750c4262c41b3ccba2f8d883853124db6195dcd7985d97393241c22

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page