반응형
>> https://vii5ard.github.io/whitespace/
I simply copied and pasted the whitespaces part on the web and I got a below message.
As we know we have to find a flag, however, it has nothing at all. Actually, I used this tool for the first time so I scrolled down and clicked each function to get used to it. Coincidentally, I found a stream of numbers on right side window so-called Debug window.
I guessed that the stream of number is the integer value for ASCII character. So I worte a simple code to convert integer number to ASCII character.
data = [103, 105, 103, 101, 109, 123, 48, 104, 95, 109, 121, 95, 119, 104, 52, 116, 95, 115, 112, 52, 99, 49,
110, 103, 95, 121, 48, 117, 95, 104, 52, 118, 51, 125]
flag = ""
for i in range(len(data)):
flag += chr(data[i])
print(flag)
Finally, I got a flag as below.
Flag : gigem{0h_my_wh4t_sp4c1ng_y0u_h4v3}
Reference site : Reference site : https://www.tamuctf.com/challenges#Hello%20World
반응형
'<개인공부> - IT > [CTF (Write up)]' 카테고리의 다른 글
Securinets Prequals 2K19 Write-up (Easy Trade) (0) | 2019.03.24 |
---|---|
TAMUctf '19 Write-up (I heard you like files) (0) | 2019.03.24 |
Pragyan CTF 19' Write-up / Welcome (0) | 2019.03.18 |
UTCTF 19' Write-up / Low Sodium Bagel (0) | 2019.03.15 |
UTCTF 19' Write-up / [basics] forensics (0) | 2019.03.15 |