Skip to main content

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

Metadata

Release files for ttyGotcha 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ttyGotcha 1.0.1
File Size Uploaded
ttyGotcha-1.0.1.tar.gz 21.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ttyGotcha 1.0.1
File Interpreter ABI Platform
ttyGotcha-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 36.6 kB

Release files / ttyGotcha-1.0.1.tar.gz

Download URL ttyGotcha-1.0.1.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
eebb26b8a68027151482ec7b1bd4959949c1f697d39c5f7294a9a9909ebfb2f8
BLAKE2b-256 checksum
How to use checksums
8e223a7d1bee161580ac618e10e8dff87b0bcbc46f115b53022f1fa79ca0bc03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / ttyGotcha-1.0.1-py3-none-any.whl

Download URL ttyGotcha-1.0.1-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
abaa0c306adb3947de5e620c434660435e4e1e94dab5cc7c96f91ee4bae84474
BLAKE2b-256 checksum
How to use checksums
d0305a488a02b7a22b5e5d6a09f6973cdb892dbb1d287d2c0df04588bb731220
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.4

1 release file

0.0.3

3 release files

0.0.2

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page