Skip to content

Instantly share code, notes, and snippets.

@Zolmeister
Created May 7, 2013 05:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zolmeister/5530467 to your computer and use it in GitHub Desktop.
Save Zolmeister/5530467 to your computer and use it in GitHub Desktop.
picoCTF - Robomunication
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
@rick7661
Copy link

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment