Docker
Last updated
Last updated
Based on the running images we can now attempt to elevate privileges through them.
Lets say for whatever reason Fabian, you seem to list and things aren't where they are supposed to be and if you run ls -la
Youll notice that something doesnt seem right.
In the case of Sirol we were root in a docker environment.
In order to break out we must first list the disks in the computer and then mount one to our own and we will be able to navigate to the filesystem.
fdisk -l
This command as seen above lists the disk names and their paths. In order to break out we shall ran the following commands.
Notice that in the code we gotta change accordingly which the lists of disks that are in the machine.
Once we execute those commadns we will have full control of the filesystem.