Skip to content

Docker image able to mess with the virtual consoles of the host system

Notifications You must be signed in to change notification settings

anOtherAnalyse/docker_tty_intrusive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TTY intrusive Docker image

Build this docker image, run it, it will print a big HELLO WORLD to every virtual console you open. This is just annoying and you will not be able to use your console. Just stop it from a XTerm, where it can not bother you.

This shows that a docker container with basic privilege still has access to some features of your system, so be careful when you run a unknown docker image on your computer.

Build it :

docker build -t tty_intrusive:latest ./

Run it :

docker run -d --name bob tty_intrusive

Kill it :

docker container kill bob

Bonus :

hijack.c allows you, with root privilege, to hijack a user's tty.

About

Docker image able to mess with the virtual consoles of the host system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published