ctf-pwn nc题总结
[SWPUCTF 2022 新生赛]Does your nc work?
使用 ls -l
命令来查看文件或目录的详细信息,并根据文件的属性来确定其类型。在详细信息中,以 -
开头表示文件,以 d
开头表示目录。
q@LAPTOP-C8L348N8:~$ nc node1.anna.nssctf.cn 28051
Wlecome to NSS!!
____ _____ ______ ______
|_ \ |_ _| .' ____ \ .' ____ \
| \ | | | (___ \_ | |(___\_|
| | \ \| | _.____` . _.____`.
_| |_\ |_ |\____) | |\____) |
|_____|\____| \______.' \______.'
Do you know where the flag is?
ls -l
total 52
drwxr-x--- 1 0 1000 4096 Sep 22 2022 bin
drwxr-xr-x 2 0 0 4096 Sep 22 2022 dev
drwxr-xr-x 15 0 0 4096 Sep 22 2022 lib
drwxr-xr-x 3 0 0 4096 Sep 22 2022 lib32
drwxr-xr-x 2 0 0 4096 Sep 22 2022 lib64
drwxr-xr-x 2 0 0 4096 Sep 22 2022 libx32
drwxr-xr-x 1 0 0 4096 Sep 22 2022 nss
-rwxr-x--- 1 0 1000 16880 Sep 20 2022 pwn
cd nss
ls -l
total 8
drwxr-xr-x 1 0 0 4096 Sep 22 2022 ctf
cd ctf
ls -l
total 4
-rwxrwxrwx 1 0 0 45 May 21 12:28 flag
cat flag
NSSCTF{b5fea07e-0f65-4f76-8646-c14dbee14c02}
未完持续……