Skip to main content

SSH-TTY control Interface

Project description

GOTCHA - The SSH-TTY control Interface

Requirements

  • Python 3.10.7
  • Linux syscall tracer (strace) https://strace.io/
  • Root Privileges Required.

Installation

From source::

git clone https://github.com/caputomarcos/gotcha.git
cd gotcha
make build && make pyinstaller
sudo make install

From pypi::

sudo su -
pip3 install ttyGotcha

Usage::

$ gotcha 
    usage: gotcha [-h] [-v] [-q] [-l] [-s [{1,2,3}]] [-t [tty]] [-a] [--replay [session]] [--speed [speed]] [--snapshot [session]]

    ·:.                                                            .:·

         ██████╗  ██████╗ ████████╗ ██████╗██╗  ██╗ █████╗ ██╗██╗██╗
        ██╔════╝ ██╔═══██╗╚══██╔══╝██╔════╝██║  ██║██╔══██╗██║██║██║
        ██║  ███╗██║   ██║   ██║   ██║     ███████║███████║██║██║██║
        ██║   ██║██║   ██║   ██║   ██║     ██╔══██║██╔══██║╚═╝╚═╝╚═╝
        ╚██████╔╝╚██████╔╝   ██║   ╚██████╗██║  ██║██║  ██║██╗██╗██╗
         ╚═════╝  ╚═════╝    ╚═╝    ╚═════╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝╚═╝╚═╝

    .:·                                                             ·:.

    options:
    -h, --help            show this help message and exit
    -v, --verbose         Turn on verbose output
    -q, --quiet           Enable quiet mode
    -l, --list            List available SSH Sessions
    -s [{1,2,3}], --session-files [{1,2,3}]
                            List Session Files
    -t [tty], --tty [tty]
                            Point GOTCHA to specific TTY
    -a, --auto            Lazy mode, auto-attach to first found session
    --replay [session]    Play previously recorded session
    --speed [speed]       Playback Speed
    --snapshot [session]  Export Session Output to Text Format


        *** root privileges required for this software. ***

WITH sudo::

sudo gotcha
usage: gotcha [-h] [-v | -q] [-l | -s [{1,2,3}] | -t [tty] | -a | --replay [session]]

Community Distributions

Feel free! All contributions are welcome. =)

TO DO

  -v, --verbose         Turn on verbose output
  -q, --quiet           Enable quiet mode

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

ttyGotcha-1.0.1.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

ttyGotcha-1.0.1-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file ttyGotcha-1.0.1.tar.gz.

File metadata

  • Download URL: ttyGotcha-1.0.1.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for ttyGotcha-1.0.1.tar.gz
Algorithm Hash digest
SHA256 eebb26b8a68027151482ec7b1bd4959949c1f697d39c5f7294a9a9909ebfb2f8
MD5 a71d974be7189665bb901a03dd9b93aa
BLAKE2b-256 8e223a7d1bee161580ac618e10e8dff87b0bcbc46f115b53022f1fa79ca0bc03

See more details on using hashes here.

File details

Details for the file ttyGotcha-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: ttyGotcha-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for ttyGotcha-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 abaa0c306adb3947de5e620c434660435e4e1e94dab5cc7c96f91ee4bae84474
MD5 9e2407a200bf178becb9fcf0df60ccdc
BLAKE2b-256 d0305a488a02b7a22b5e5d6a09f6973cdb892dbb1d287d2c0df04588bb731220

See more details on using hashes here.

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