Last active
December 20, 2015 12:59
-
-
Save GeneralZero/6135392 to your computer and use it in GitHub Desktop.
Defcon badge decriptor
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
Black Queen | |
07-21-14-07-19-22-01-17-22-01-20-14-01-06-10-18-05-06 | |
GUNGSVAQVATNAFJREF | |
THAT FINDING ANSWERS | |
Red 2 | |
12-12-20-08-05-06-05-05-04-02-01-03-11-25-15-21-14 | |
LLTHEFEEDBACKYOUN | |
YYGURSRRQONPXLBHA | |
Red 5 | |
24-03-12-21-19-09-22-05-15-18-08-01-19-09-20-18-05 | |
XCLUSIVEORHASITRE | |
KPYHFVIRBEUNFVGER | |
Black 10 (Skulls) | |
1508070602261807222618062518141706140607051412 | |
OHGFBZRGVZRFYRNQFNFGENL | |
BUTSOMETIMESLEADSASTRAY | |
Red Jack | |
06091819200919200805120119011920020505 | |
FIRSTISTHELASTBEE | |
SVEFGVFGURYNFNFGORR | |
Black 7 | |
1508070721220622061908010522202107 | |
OHGGUVFVFSHAEVTUG | |
BUTTHISISFUNRIGHT |
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
# Black Badges are ROT13 | |
# Red Badges are not ROT13 | |
# | |
import textwrap | |
def numstring2alpha(nstring): | |
returnlist = '' | |
nlist = textwrap.wrap(nstring, 2) | |
for x in nlist: | |
returnlist += chr(ord('A') + int(x) - 1) | |
return returnlist | |
def rot13(astring): | |
return astring.encode('rot13') | |
teststring="2403122119092205151808011909201805" | |
# Just modify the Text String and run | |
print teststring | |
norot = numstring2alpha(teststring) | |
print norot | |
print norot.encode('rot13') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment