Description
This module will edit /etc/rc.local in order to persist a payload. The payload will be executed on the next reboot. Verified on Ubuntu 18.04.3
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/persistence/rc_localmsf undefined(rc_local) > show actions ...actions...msf undefined(rc_local) > set ACTION < action-name >msf undefined(rc_local) > show options ...show and set options...msf undefined(rc_local) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub