This Metasploit module will create an autostart entry to execute a payload. The payload will be executed when the users logs in.
6fc2f23cb1219cf37ae9ee12349fb6f99a50a808883257d37a8d876b78a1d3b8
This Metasploit module will edit /etc/rc.local in order to persist a payload. The payload will be executed on the next reboot.
b014bcfd6bf6e877fa9e7017efdaa6a981c60c2bf65318e3b8ff5abc1c52f182