Docker Web
Overview
- Overall difficulty for me (From 1-10 stars): ★★★★★★★★★★
Background
Enumeration
In this challenge, we can download a file:
┌[siunam♥earth]-(~/ctf/VU-Cyberthon-2023/Web/Docker-Web)-[2023.02.25|16:20:44(HKT)]
└> file Task-docker.tar
Task-docker.tar: POSIX tar archive
It’s a TAR archive file, we can extract it via tar
:
┌[siunam♥earth]-(~/ctf/VU-Cyberthon-2023/Web/Docker-Web)-[2023.02.25|16:22:32(HKT)]
└> tar -xvf Task-docker.tar
[...]
┌[siunam♥earth]-(~/ctf/VU-Cyberthon-2023/Web/Docker-Web)-[2023.02.25|16:22:41(HKT)]
└> ls -lah
total 227M
drwxr-xr-x 17 siunam nam 4.0K Feb 25 16:22 .
drwxr-xr-x 4 siunam nam 4.0K Feb 25 16:20 ..
lrwxrwxrwx 1 siunam nam 7 Nov 30 10:04 bin -> usr/bin
drwxr-xr-x 2 siunam nam 4.0K Apr 18 2022 boot
drwxr-xr-x 4 siunam nam 4.0K Jan 30 15:06 dev
-rwxr-xr-x 1 siunam nam 0 Jan 30 15:06 .dockerenv
drwxr-xr-x 38 siunam nam 4.0K Jan 30 15:06 etc
drwxr-xr-x 2 siunam nam 4.0K Apr 18 2022 home
lrwxrwxrwx 1 siunam nam 7 Nov 30 10:04 lib -> usr/lib
lrwxrwxrwx 1 siunam nam 9 Nov 30 10:04 lib32 -> usr/lib32
lrwxrwxrwx 1 siunam nam 9 Nov 30 10:04 lib64 -> usr/lib64
lrwxrwxrwx 1 siunam nam 10 Nov 30 10:04 libx32 -> usr/libx32
drwxr-xr-x 2 siunam nam 4.0K Nov 30 10:04 media
drwxr-xr-x 2 siunam nam 4.0K Nov 30 10:04 mnt
drwxr-xr-x 2 siunam nam 4.0K Nov 30 10:04 opt
drwxr-xr-x 2 siunam nam 4.0K Apr 18 2022 proc
drwx------ 2 siunam nam 4.0K Nov 30 10:07 root
drwxr-xr-x 6 siunam nam 4.0K Jan 30 15:06 run
lrwxrwxrwx 1 siunam nam 8 Nov 30 10:04 sbin -> usr/sbin
drwxr-xr-x 2 siunam nam 4.0K Nov 30 10:04 srv
drwxr-xr-x 2 siunam nam 4.0K Apr 18 2022 sys
-rw-r--r-- 1 siunam nam 227M Feb 25 14:05 Task-docker.tar
drwxr-xr-x 2 siunam nam 4.0K Jan 30 00:52 tmp
drwxr-xr-x 14 siunam nam 4.0K Nov 30 10:04 usr
drwxr-xr-x 12 siunam nam 4.0K Jan 30 00:52 var
As you can see, it’s a Linux file system.
However, I have no idea what to do next…