Files
metasploit-gs/documentation/modules/exploit/linux/local/autostart_persistence.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
485 B
Markdown
Raw Normal View History

2018-07-15 12:02:52 +02:00
## Autostart persistence
This module persist a payload by creating a `.desktop` entry for Linux desktop targets.
### Testing
1. Exploit a box
2. `use exploit/linux/local/autostart_persistence`
3. `set SESSION <id>`
4. `set PAYLOAD cmd/unix/reverse_python` (for instance), configure the payload as needed
5. `exploit`
2018-08-20 17:51:41 +08:00
When the victim logs in your payload will be executed!
2018-07-15 12:02:52 +02:00
### Options
**NAME**
Name of the `.desktop` entry to add, if not specified it will be chosen randomly.