module

rc.local Persistence

Disclosed
1980-10-01
Created
2019-03-19

Description

This module will edit /etc/rc.local in order to persist a payload.
The payload will be executed on the next reboot.

Author

Eliott Teissonniere

Platform

Linux,Unix

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/linux/local/rc_local_persistence
msf exploit(rc_local_persistence) > show targets
...targets...
msf exploit(rc_local_persistence) > set TARGET < target-id >
msf exploit(rc_local_persistence) > show options
...show and set options...
msf exploit(rc_local_persistence) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.