A python "tool" for "interacting" with the terminals of "friends" and "colleagues".
pip install disrupt
Alternatively, since it must be run as root, you may not want to install.
You can download a fully packaged
pex
file and run without
installing:
wget https://github.com/dellis23/disrupt/blob/master/bin/pex/disrupt.pex?raw=true -O disrupt; chmod +x disrupt
Get a list of users on the box you're on, and take a note of the terminal:
$ who
myself pts/8 2015-06-12 00:12 (31.1.3.7)
target pts/2 2015-06-12 00:02 (1.1.1.1)
Then, as root (required), launch a disruption at the terminal:
# disrupt -t /dev/pts/2 -d wipe
That'll wipe their screen every once in a while.
All disruptions can be configured to be subtle -v
all the way up to really
intrusive -vvvvv
.
Prints a colored box at a random position in the target terminal.
# disrupt -t /dev/pts/2 -d blocks -v
# disrupt -t /dev/pts/2 -d blocks -vvv
# disrupt -t /dev/pts/2 -d blocks -vvvvv
Changes the target terminal's text to a random color.
# disrupt -t /dev/pts/2 -d rainbow -v
# disrupt -t /dev/pts/2 -d rainbow -vvvvv
Randomly moves the cursor one movement up, down, left, or right.
# disrupt -t /dev/pts/2 -d jitter -v
# disrupt -t /dev/pts/2 -d jitter -vvv
# disrupt -t /dev/pts/2 -d jitter -vvvvv
Clears the screen.
# disrupt -t /dev/pts/2 -d wipe -v
# disrupt -t /dev/pts/2 -d wipe -vvvvv
Randomly hides or shows the cursor. Requires the user to type a key for it to take effect, so verbosity is basically just maximum.
# disrupt -t /dev/pts/2 -d hide
Sends a beep to the target terminal.
Max verbosity will make them want to kill you, so be courteous.