[Wargame Write-up]/HellBoundHackers

[HellBoundHackers] [Encryption] Encryption Challenge 1

Kevin S. 2017. 1. 13. 14:58

Encryption 첫 번째 문제이다.


Binary라는 설명이 달려 있다.




링크로 가 보면, 아래와 같은 2진수가 나타난다.




길이가 8의 배수이므로, 별다른 작업 없이 아래처럼 쉽게 decode 가능하다.


1
2
3
4
5
6
7
8
9
10
binary =  "0100001001101001011011100110000101110010011110010010"
binary += "0000010010010111010001110011001000000100010001101001"
binary += "0110011101101001011101000110000101101100011010010110001101101001011011110111010101110011"
 
decoded = ""
 
for i in range(0len(binary), 8):
        decoded += chr(int(binary[i:i+8], 2))
 
print decoded
cs



답으로 보이는 문자열이 출력된다.




Clear~