Rick To Inject Commands On Root Terminal-Rootstealer


Rootstealer is an example of a new attack using X11. This instrument is used to detect if Linux users start the terminal with root and inject control with X11 lib.

Rootstealer Installation

# apt-get install libX11-dev libxtst-dev
# cd rootstealer/sendkeys; 

Edit document rootstealer/cmd. Cfg and compose your control to inject.

You can consider that next:

# make; cd. .     #to back to route rootstealer/ 
# pip install gi
pip install gir

Run the python script to spy all windows GUI and hunt window with”root@” string in the title.

$ python rootstealer.py &
$ sudo apt-get set up libwnck-dev
$ gcc -o rootstealer rootstealer.c 'pkg-config --cflags --libs libwnck-1.0' -DWNCK_I_KNOW_THIS_IS_UNSTABLE -DWNCK_COMPILATION
$ . /rootstealer &



We are not accountable for the evil use of this tool. Use this to get a good intent.

You May Also Like

About the Author: Steve West