Plaidctf2020 File System Based Strcmp Go Brrrr Writeup

LeeDoHyun · April 20, 2020

strcmp.fat32 라는 파일을 주길래 dmg로 확장자 바꾸고 마운트 시켜보니 파일이 엄청 많습니다.

[email protected]  /Volumes/Untitled  ls
!     &     -     3     7     A     E     I     M     Q     SPACE W     ^     }
#     '     0     4     8     B     F     J     N     R     T     X     _
$     (     1     5     9     C     G     K     O     S     U     Y     `
%     )     2     6     @     D     H     L     P     SORRY V     Z     {

뭔가 flag파일이 있을꺼 같아서 find로 확인해 보았더니 플래그가 떠버렸습니다?

Untitled/SPACE/SPACE/!/SPACE/!/SPACE/SPACE/SPACE/!/#/P/C/P/C/T/P/C/P/C/P/C/T/F/{/P/C/P/C/T/F/{/P/C/T/F/{/W/H/A/T/_/I/N/_/T/A/R/N/A/T/I/O/N/_/I/S/_/T/H/1/S/_/F/I/L/E/S/Y/S/T/E/M/!/}/SPACE/SPACE/SPACE/!/G/C
Untitled/SPACE/SPACE/!/SPACE/!/SPACE/SPACE/SPACE/!/#/P/C/P/C/T/P/C/P/C/P/C/T/F/{/P/C/P/C/T/F/{/P/C/T/F/{/W/H/A/T/_/I/N/_/T/A/R/N/A/T/I/O/N/_/I/S/_/T/H/1/S/_/F/I/L/E/S/Y/S/T/E/M/!/}/SPACE/SPACE/SPACE/!/G/D
Untitled/SPACE/SPACE/!/SPACE/!/SPACE/SPACE/SPACE/!/#/P/C/P/C/T/P/C/P/C/P/C/T/F/{/P/C/P/C/T/F/{/P/C/T/F/{/W/H/A/T/_/I/N/_/T/A/R/N/A/T/I/O/N/_/I/S/_/T/H/1/S/_/F/I/L/E/S/Y/S/T/E/M/!/}/SPACE/SPACE/SPACE/!/G/E
Untitled/SPACE/SPACE/!/SPACE/!/SPACE/SPACE/SPACE/!/#/P/C/P/C/T/P/C/P/C/P/C/T/F/{/P/C/P/C/T/F/{/P/C/T/F/{/W/H/A/T/_/I/N/_/T/A/R/N/A/T/I/O/N/_/I/S/_/T/H/1/S/_/F/I/L/E/S/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