去年去日本打了一場CTF,給女生打的CTF
報名的時侯有一些暖身題分享給大家
Q1. Please answer the decoded string.※
Q: Q1RGIGZvciBHSVJMUw==
A: CTF for GIRLS
W: 使用base64 decode
Q2. The following is a part of the hexdump output of file X. What file is this?
Please answer the filetype.
00000000 d4 c3 b2 a1 02 00 04 00 00 00 00 00 00 00 00 00 |................|
00000010 ff ff 00 00 f9 00 00 00 84 a7 fc 57 c8 5b 0b 00 |...........W.[..|
00000020 23 00 00 00 23 00 00 00 1b 00 b0 33 ee 1b 80 fa |#...#......3....|
A: n/a WinDump (winpcap) capture file (Windows)
W: 檔頭(D4 C3 B2 A1)
[參考]: https://brendanzagaeski.appspot.com/0006.html
Q3. What is the value of eax at the end of the program? ※
_start:
xor ecx, ecx
xor eax, eax
mov eax, 0x1
jmp L2
L1:
add eax, eax
add ecx, 0x1
L2:
cmp ecx, 0x4
jle L1
nop
0x32