[AlexCTF 2017][Writeup][CR1: Ultracoded]
Download file here
Hint
Fady didn’t understand well the difference between encryption and encoding, so instead of encrypting some secret message to pass to his friend, he encoded it!
Hint: Fady’s encoding doens’t handly any special character
Open file and see it is a text file include ZERO
and ONE
Remove space and replace ZERO
= 0
, ONE
= 1
I got:
010011000110100100110000011001110100110001101001001100000111010101001100011010010100000101110101010010010100001100110000011
1010101001100011010010011000001100111010011000101001100110100011101000100110001101001010000010111010001001001010000110011010
0011101010100110001010011001101000110011101001100010100110100000101110101010011000110100100110100011101010100100101000011001
1010001110100010011000101001100110000011101000100100101000011001101000111010101001100011010010011010001110101010010010100001
1001100000111010001001100010100110100000101110101010011000101001100110000011101000100110001010011010000010111010101001100011
0100100110100011001110100110001010011001100000111010001001001010000110011010001110101010011000110100100110100011101010100100
1010000110011010001110101010011000101001101000001011101010100110001010011001100000111010101001001010000110011010001110101010
0110001101001001100000111010001001001010000110011010001110100010011000110100101000001011101000100110001010011001100000110011
1010011000110100100110100011101010100110001101001001101000110011101001100011010010100000101110100010011000110100100110000011
1010101001001010000110011010001110100010011000110100101000001011101010100110001101001001101000111010001001100010100110100000
1011101000100100101000011001100000111010001001100010100110100000101110100010010010100001100110000011101010100110001101001001
100000110011101001100010100010011110100111101
Convert it to char I got:
Li0gLi0uLiAuIC0uLi0gLS4tLiAtIC4uLS4gLSAuLi4uIC4tLS0tIC4uLi4uIC0tLSAuLS0tLSAuLi4gLS0tIC4uLi4uIC4uLSAuLS0uIC4uLi0tIC4tLiAtLS0gLi4uLi4gLiAtLi0uIC4tLiAuLi4tLSAtIC0tLSAtIC0uLi0gLQ==
Look like Base64
Decode base64 I got:
.- .-.. . -..- -.-. - ..-. - .... .---- ..... --- .---- ... --- ..... ..- .--. ...-- .-. --- ..... . -.-. .-. ...-- - --- - -..- -
Morse code?? @@
Decode it:
ALEXCTFTH15O1SO5UP3RO5ECR3TOTXT
Got flag
???
Hmmmmm!! No
Flag Format: ALEXCTF{[A-Za-z0-9_]*}
Ok maybe ALEXCTF{TH15O1SO5UP3RO5ECR3TOTXT}
I submit and Wrong Answer
WTF @@
Replace O
= _
And Flag is: ALEXCTF{TH15_1S_5UP3R_5ECR3T_TXT}
Không có nhận xét nào:
Đăng nhận xét