stealthcopter / deepce

Docker Enumeration, Escalation of Privileges and Container Escapes (DEEPCE)
Apache License 2.0
1.2k stars 104 forks source link

TryHackMe Task 2 Option 1. #9

Closed ghost closed 4 years ago

ghost commented 4 years ago

Hi,

I'm just blindly following your documentation and I'm having trouble on the second task.

ubuntu@deepce:~$ docker cp /opt/deepce/deepce.sh alpine-container_name:/
ubuntu@deepce:~$ docker alpine-container_name exec /deepce.sh
docker: 'alpine-container_name' is not a docker command.
See 'docker --help'
ubuntu@deepce:~$ 

What am I doing wrong??

I know alpine-container_name Isn't the same. I changed it because I didn't want to give away an answer.

stealthcopter commented 4 years ago

it should be docker exec alpine-container_name /deepce.sh, thanks!