Created
May 7, 2013 05:33
-
-
Save Zolmeister/5530467 to your computer and use it in GitHub Desktop.
picoCTF - Robomunication
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msg="1111 1 1011 1011 000 100 1111 10 0 11 111 0 1111 1 010 1 0100 11 0 11 0 11 111 0111 000 000 1001 0111 1 1 1001".split(" ") | |
key='abcdefghijklmnopqrstuvwxyz1234567890' | |
lets='10 0111 0101 011 1 1101 001 1111 11 1000 010 1011 00 01 000 1001 0010 101 111 0 110 1110 100 0110 0100 0011 10000 11000 11100 11110 11111 01111 0111 00011 00001 00000'.split(' ') | |
ans="" | |
for k in msg: | |
ans+=key[lets.index(k)] | |
print ans |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The message has "it" repeated.
"1111 1 1011 1011 000 100 1111 10 0 11 111 0 1111 1 010 1 0100 11 0 11 0 11 111 0111 000 000 1001 0111 1 1 1001" is translated as "hellowhatisthekeyit it isboopbeep"
Nice code still :)