mirror of https://github.com/dirtbags/moth.git
Move puzzles into a separate project
This commit is contained in:
parent
6d4c458e04
commit
5936814305
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "puzzles"]
|
||||||
|
path = puzzles
|
||||||
|
url = cfl:/var/projects/ctf-puzzles
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 1a217387a47583773b529cf1dea42fbf6f24cbc9
|
|
@ -1 +0,0 @@
|
||||||
1 2 3 4 5 6 7 8 9 10 _
|
|
|
@ -1 +0,0 @@
|
||||||
11
|
|
|
@ -1,2 +0,0 @@
|
||||||
1 10 11 100 101 110 111 _
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
1000
|
|
|
@ -1 +0,0 @@
|
||||||
... 4 5 6 7 10 11 12 ... 75 76 77 _
|
|
|
@ -1 +0,0 @@
|
||||||
100
|
|
|
@ -1 +0,0 @@
|
||||||
... 7 8 9 A B C D E F 10 11 12 13 ... 1C8 1C9 _
|
|
|
@ -1 +0,0 @@
|
||||||
1CA
|
|
|
@ -1 +0,0 @@
|
||||||
1 2 4 8 16 32 _
|
|
|
@ -1 +0,0 @@
|
||||||
64
|
|
|
@ -1,5 +0,0 @@
|
||||||
1 base 10 counting
|
|
||||||
2 base 2
|
|
||||||
3 base 8
|
|
||||||
4 base 16
|
|
||||||
5 powers of 2
|
|
|
@ -1 +0,0 @@
|
||||||
antediluvian
|
|
Binary file not shown.
Before Width: | Height: | Size: 87 B |
|
@ -1,108 +0,0 @@
|
||||||
Safe to ex<b>e</b>cute.
|
|
||||||
|
|
||||||
<img width="20" height="20" src="data:image;base64,
|
|
||||||
cjd7PTw9PDw8DQ0NDQ0NDQ8PDA0MDAwMzE5KQnYNDQ1lYmJiYmJiDTk5GRke
|
|
||||||
HjY2Kg0UFBISEhImJiYNObm9tYEBBQ3tDQ0N7e3t7ejo6A0JCQkJCgoKCh4M
|
|
||||||
DAwYmZ2VgQAEBRYWFhYFBQUFAQ0NDQwMDAwNDQ0NDQ0NDQ2NiY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||
DQ0dH+4Rzs/PDVHV0dnd3d3dzA0DA+3s7OyYDQkFBQUFBRUVAwP4DAwMDAwM
|
|
||||||
DAwMDA0tLS0tIiAgIKCZnZWVlZWVhYd28tfV1dXV1dXV1Q0NDS0tLS0tTi9h
|
|
||||||
DVI1WDdZBnUBbB5qagl7D3wIfWsNI0BAH0ADVxhfAEwFVgJdAgJdUhZCDV8A
|
|
||||||
TAVWAlINDVINRwRWCUVEF0McQ0MzHS0tbgFsHHAVYQRgTjw8YzxYN2gPYwxv
|
|
||||||
DmI9WS1CMEMcbBlhYQd1FHkcQ2kccRxlZTplJnJCEE8KRABfAABfUhZCDV8A
|
|
||||||
RQtPEFJSDVIURgdKD1BIBkIdQkIdQghLXwBFC08QT08QT2kGWT5SPV8+Ug1u
|
|
||||||
GnUHdCtKP0dHeRxvGzVWVglNFEMCTwZFRRp8DFNlEhJNEnQdcxpFbB5sDXQr
|
|
||||||
TiBERFINaRp1KkIjTSlhBARbBGgBYwBfbh1oN1E4Vj8/T3gMfz9/OHQ9fzxS
|
|
||||||
YE5+fiFIJk87DVIhVTRGMjJtMmsCbAVaO0k7WiNSIVU0RjIybTJeZAZlOlkq
|
|
||||||
XwBpB2QQEE8QcgFyLV55GGoeHnMSexUVUg1hCGoJViVRMH8LVDlYMV8fXxhB
|
|
||||||
CEoJVmRKenolUjtVPEgXdgR2F3QrTiBERCBBNVRSIVU0RjIybQtiYwoKVQp6
|
|
||||||
CG0EamQQTy5cLk82aQxjBwdYPVk4TC0tUhVZFlQVWQZJD0sYXQlWAkMBTQhS
|
|
||||||
Ug1oBmJiPWILYwp+IUAyQCFYB34KaxltbTJ7NGt+Cm4HaTZDMFUxDVINaQh8
|
|
||||||
HUIxRWweamo1fwlWBGFqA3AEYRNQPF0ufhtoaDdoGGoPZmMKfiFAMkAhWAd+
|
|
||||||
CmsZbW0ybQpnYgxTIFQ1RzNsMw0=" alt="Santa's helpers binary" />
|
|
|
@ -1 +0,0 @@
|
||||||
It is a lovely day outside
|
|
Binary file not shown.
|
@ -1,2 +0,0 @@
|
||||||
Recovery, while not strictly necessary, may be tremendously helpful.
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
jackalope wheeze
|
|
|
@ -1 +0,0 @@
|
||||||
tkftsuiuqvaheohrnsnuoleyriod"eic"
|
|
|
@ -1 +0,0 @@
|
||||||
unequivocal
|
|
|
@ -1 +0,0 @@
|
||||||
27586126814341379597440261571645814840581961154587430529221052323
|
|
|
@ -1 +0,0 @@
|
||||||
DB1663<3
|
|
|
@ -1,22 +0,0 @@
|
||||||
Kolejne modele Panzerfausta, odpowiednio: 60, 100, 150, różnił
|
|
||||||
kaliber głowicy i wielkość ładunku miotającego. Konstrukcja i
|
|
||||||
mechanizm nie ulegał istotnym zmianom, z racji wzrastania zasięgu
|
|
||||||
broni modyfikacjom ulegały nastawy celowników. Jedynie we wzorze 150
|
|
||||||
wprowadzono (a był to już początek 1945 roku) wielokrotne użycie
|
|
||||||
wyrzutni rurowej. Osiągnięto to przez umieszczenie ładunku
|
|
||||||
miotającego w głowicy oraz przez wzmocnienie rury. W wyniku problemu z
|
|
||||||
transportem model ów nie wszedł do walki. Model 250 (o teoretycznym
|
|
||||||
zasięgu 250 m) z racji zakończenia wojny nie opuścił desek
|
|
||||||
kreślarskich nigdy nie wchodząc nawet w fazę prototypową.
|
|
||||||
|
|
||||||
(61, 4)
|
|
||||||
(47, 8)
|
|
||||||
(19, 4)
|
|
||||||
(37, 1)
|
|
||||||
(51, 3)
|
|
||||||
(67, 5)
|
|
||||||
(9, 2)
|
|
||||||
(26, 1)
|
|
||||||
(2, 2)
|
|
||||||
(26, 3)
|
|
||||||
(50, 2)
|
|
|
@ -1 +0,0 @@
|
||||||
jako561962
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
PC LOAD LETTER
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
extra special text
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
31 9 15 26 14 23 14 6 18 5 12 18 5 2 16 27 7 10 11 5 13 31 17 17 6 2 26 26 10 21 10 8 20 4
|
|
|
@ -1 +0,0 @@
|
||||||
journals.uchicago
|
|
|
@ -1 +0,0 @@
|
||||||
xez.3nt
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
PEANUT BUTTER JELLY TIME
|
|
|
@ -1,9 +0,0 @@
|
||||||
100 gzip 20G
|
|
||||||
150 bz2recover
|
|
||||||
200 scytale
|
|
||||||
250 png as integer
|
|
||||||
300 panzerfaust (word, letter)
|
|
||||||
350 filenames of each gzip segment
|
|
||||||
500 fast audio
|
|
||||||
900 exif type
|
|
||||||
1000 ???
|
|
|
@ -1 +0,0 @@
|
||||||
The answer for this page is "snickers".
|
|
|
@ -1 +0,0 @@
|
||||||
snickers
|
|
|
@ -1 +0,0 @@
|
||||||
Uif botxfs gps uijt qbhf jt "hpctupqqfs".
|
|
|
@ -1 +0,0 @@
|
||||||
gobstopper
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.7 KiB |
|
@ -1 +0,0 @@
|
||||||
![dancing men](danging.png)
|
|
|
@ -1 +0,0 @@
|
||||||
tootsie
|
|
|
@ -1 +0,0 @@
|
||||||
Xts cgmvsl ihl otfm jcns fm "tslmtsx".
|
|
|
@ -1 +0,0 @@
|
||||||
hershey
|
|
Binary file not shown.
Before Width: | Height: | Size: 10 KiB |
|
@ -1 +0,0 @@
|
||||||
skittles
|
|
Binary file not shown.
Before Width: | Height: | Size: 23 KiB |
|
@ -1 +0,0 @@
|
||||||
toffee
|
|
|
@ -1,13 +0,0 @@
|
||||||
toaatbs 1
|
|
||||||
hdsthea 2
|
|
||||||
iectern 3
|
|
||||||
siyetos 4
|
|
||||||
tstnofw 5
|
|
||||||
ycattle 6
|
|
||||||
paliaer 7
|
|
||||||
eleoltb 8
|
|
||||||
olpnnte 9
|
|
||||||
featuee 10
|
|
||||||
cdyomrt 11
|
|
||||||
|
|
||||||
1234567
|
|
|
@ -1 +0,0 @@
|
||||||
beet
|
|
|
@ -1 +0,0 @@
|
||||||
cusoeecolorsahnanicnagtfnyslriagtwuaoctaeptnthlra
|
|
|
@ -1 +0,0 @@
|
||||||
chalupa
|
|
|
@ -1,8 +0,0 @@
|
||||||
1 plain text, no crypto
|
|
||||||
2 rot-1
|
|
||||||
3 dancing men
|
|
||||||
4 monoalphabetic substitution cipher
|
|
||||||
5 bionicle substitution
|
|
||||||
6 wiccan substitution
|
|
||||||
7 scytale laid out in grid
|
|
||||||
8 real scytale
|
|
|
@ -1,53 +0,0 @@
|
||||||
You are doing a forensics evaluation of a linux box that you know has
|
|
||||||
been compromised. You find a binary on the system and assume it was
|
|
||||||
used by the attackers to hide data on box that that was exfiltrated.
|
|
||||||
You dissamble the file and find the x86 assembly shown below (from Ida)
|
|
||||||
- this function was used for obfuscation. You also find a file
|
|
||||||
obfuscated by this tool. Using the key you find in this encoder code
|
|
||||||
what is the unobfuscated first line of the file which starts with
|
|
||||||
|
|
||||||
8%%>p2pzpzp8%%>pe8%%>pe(#$e(+9"
|
|
||||||
|
|
||||||
HINT: The function was orginally defined as void convert_buf(unsigned
|
|
||||||
char * buf, int len).
|
|
||||||
|
|
||||||
.text:08048474 ; =============== S U B R O U T I N E =======================================
|
|
||||||
.text:08048474
|
|
||||||
.text:08048474 ; Attributes: bp-based frame
|
|
||||||
.text:08048474
|
|
||||||
.text:08048474 public convert_buf
|
|
||||||
.text:08048474 convert_buf proc near ; CODE XREF: main+B2p
|
|
||||||
.text:08048474
|
|
||||||
.text:08048474 cnt = dword ptr -4
|
|
||||||
.text:08048474 buf = dword ptr 8
|
|
||||||
.text:08048474 len = dword ptr 0Ch
|
|
||||||
.text:08048474
|
|
||||||
.text:08048474 push ebp
|
|
||||||
.text:08048475 mov ebp, esp
|
|
||||||
.text:08048477 sub esp, 10h
|
|
||||||
.text:0804847A mov [ebp+cnt], 0
|
|
||||||
.text:08048481 mov [ebp+cnt], 0
|
|
||||||
.text:08048488 jmp short loc_80484A4
|
|
||||||
.text:0804848A ; ---------------------------------------------------------------------------
|
|
||||||
.text:0804848A
|
|
||||||
.text:0804848A loc_804848A: ; CODE XREF: convert_buf+36j
|
|
||||||
.text:0804848A mov eax, [ebp+cnt]
|
|
||||||
.text:0804848D mov edx, eax
|
|
||||||
.text:0804848F add edx, [ebp+buf]
|
|
||||||
.text:08048492 mov eax, [ebp+cnt]
|
|
||||||
.text:08048495 add eax, [ebp+buf]
|
|
||||||
.text:08048498 movzx eax, byte ptr [eax]
|
|
||||||
.text:0804849B xor eax, 4Ah
|
|
||||||
.text:0804849E mov [edx], al
|
|
||||||
.text:080484A0 add [ebp+cnt], 1
|
|
||||||
.text:080484A4
|
|
||||||
.text:080484A4 loc_80484A4: ; CODE XREF: convert_buf+14j
|
|
||||||
.text:080484A4 mov eax, [ebp+cnt]
|
|
||||||
.text:080484A7 cmp eax, [ebp+len]
|
|
||||||
.text:080484AA jl short loc_804848A
|
|
||||||
.text:080484AC leave
|
|
||||||
.text:080484AD retn
|
|
||||||
.text:080484AD convert_buf endp
|
|
||||||
.text:080484AD
|
|
||||||
.text:080484AE
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
root:x:0:0:root:/root:/bin/bash
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
This is our world now... the world of the electron and the switch, the beauty of the baud.
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
Gawain Ballard Tunisia
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
Actually, Werner, we're all tickled to here you say that. Frankly, watchin' Donny beat Nazis to death is is the closest we ever get to goin' to the movies.
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
lawful forths Amanda
|
|
|
@ -1,52 +0,0 @@
|
||||||
You are doing a forensics evaluation of a linux box that you know has
|
|
||||||
been compromised. You find a binary on the system and assume it was
|
|
||||||
used by the attackers to hide data on box that they were going to
|
|
||||||
exfiltrate. You dissamble the file and find the following lines of x86
|
|
||||||
assembly - this function was used to encode a buffer in place to
|
|
||||||
obfuscate a file. What is the 1 byte key used to obfuscate the data (in
|
|
||||||
hex)?
|
|
||||||
|
|
||||||
HINT: The function was orginally defined as void convert_buf(unsigned
|
|
||||||
char * buf, int len). You can solve this puzzle by writing some code,
|
|
||||||
or by using some of the advanced functions of some of the hex editors
|
|
||||||
out there.
|
|
||||||
|
|
||||||
.text:08048474 ; =============== S U B R O U T I N E =======================================
|
|
||||||
.text:08048474
|
|
||||||
.text:08048474 ; Attributes: bp-based frame
|
|
||||||
.text:08048474
|
|
||||||
.text:08048474 public convert_buf
|
|
||||||
.text:08048474 convert_buf proc near ; CODE XREF: main+B2p
|
|
||||||
.text:08048474
|
|
||||||
.text:08048474 cnt = dword ptr -4
|
|
||||||
.text:08048474 buf = dword ptr 8
|
|
||||||
.text:08048474 len = dword ptr 0Ch
|
|
||||||
.text:08048474
|
|
||||||
.text:08048474 push ebp
|
|
||||||
.text:08048475 mov ebp, esp
|
|
||||||
.text:08048477 sub esp, 10h
|
|
||||||
.text:0804847A mov [ebp+cnt], 0
|
|
||||||
.text:08048481 mov [ebp+cnt], 0
|
|
||||||
.text:08048488 jmp short loc_80484A4
|
|
||||||
.text:0804848A ; ---------------------------------------------------------------------------
|
|
||||||
.text:0804848A
|
|
||||||
.text:0804848A loc_804848A: ; CODE XREF: convert_buf+36j
|
|
||||||
.text:0804848A mov eax, [ebp+cnt]
|
|
||||||
.text:0804848D mov edx, eax
|
|
||||||
.text:0804848F add edx, [ebp+buf]
|
|
||||||
.text:08048492 mov eax, [ebp+cnt]
|
|
||||||
.text:08048495 add eax, [ebp+buf]
|
|
||||||
.text:08048498 movzx eax, byte ptr [eax]
|
|
||||||
.text:0804849B xor eax, 4Ch
|
|
||||||
.text:0804849E mov [edx], al
|
|
||||||
.text:080484A0 add [ebp+cnt], 1
|
|
||||||
.text:080484A4
|
|
||||||
.text:080484A4 loc_80484A4: ; CODE XREF: convert_buf+14j
|
|
||||||
.text:080484A4 mov eax, [ebp+cnt]
|
|
||||||
.text:080484A7 cmp eax, [ebp+len]
|
|
||||||
.text:080484AA jl short loc_804848A
|
|
||||||
.text:080484AC leave
|
|
||||||
.text:080484AD retn
|
|
||||||
.text:080484AD convert_buf endp
|
|
||||||
.text:080484AD
|
|
||||||
.text:080484AE
|
|
|
@ -1 +0,0 @@
|
||||||
4C
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
codger launched jet
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
Now think real hard. You been bird-doggin' this township awhile now. They wouldn't mind a corpse of you. Now, you can luxuriate in a nice jail cell, but if your hand touches metal, I swear by my pretty floral bonnet, I will end you.
|
|
|
@ -1 +0,0 @@
|
||||||
Danny wrote these, I have no idea.
|
|
|
@ -1,16 +0,0 @@
|
||||||
<dl>
|
|
||||||
<dt>Alice
|
|
||||||
<dd>Welcome to Crypto. It works like this: I'll say something to Bob,
|
|
||||||
and he'll say something back. Our communication will be encrypted in some
|
|
||||||
manner, or at least obfuscated. Your job is to get the plaintext, and
|
|
||||||
find the puzzle key.
|
|
||||||
<dt>Bob
|
|
||||||
<dd>Sometimes the plaintext from one puzzle will give you a hint (or the
|
|
||||||
cryptogaphic key) for the next. When we give you such keys, we'll always
|
|
||||||
do so in a straightforward manner. The puzzle key for each puzzle
|
|
||||||
is always in what I say, and there shouldn't be any tricks involved in
|
|
||||||
figuring out what it is.
|
|
||||||
<dt>Alice<dd>Good Luck!
|
|
||||||
<dt>Bob<dd>You'll need it. By the way, the key is 'dirtbags'.
|
|
||||||
</dl>
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
dirtbags
|
|
|
@ -1,2 +0,0 @@
|
||||||
<dl><dt>Alice<dd> nyy unvy pnrfne.
|
|
||||||
<dt>Bob<dd> pnrfne vf gur xrl </dl>
|
|
|
@ -1 +0,0 @@
|
||||||
caesar
|
|
|
@ -1,24 +0,0 @@
|
||||||
plaintext = [b'all hail caesar.', b'caesar is the key']
|
|
||||||
|
|
||||||
alpha = b'abcdefghijklmnopqrstuvwxyz'
|
|
||||||
|
|
||||||
def ceasar(text, r):
|
|
||||||
out = bytearray()
|
|
||||||
for t in text:
|
|
||||||
if t in alpha:
|
|
||||||
t = t - b'a'[0]
|
|
||||||
t = (t + r)%26
|
|
||||||
out.append(t + b'a'[0])
|
|
||||||
else:
|
|
||||||
out.append(t)
|
|
||||||
return bytes(out)
|
|
||||||
|
|
||||||
encode = lambda text : ceasar(text, 13)
|
|
||||||
decode = lambda text : ceasar(text, -13)
|
|
||||||
|
|
||||||
c = encode(plaintext[0])
|
|
||||||
print('<dl><dt>Alice<dd>', str(c, 'utf-8'))
|
|
||||||
assert decode(c) == plaintext[0]
|
|
||||||
c = encode(plaintext[1])
|
|
||||||
print('<dt>Bob<dd>', str(c, 'utf-8'), '</dl>')
|
|
||||||
assert decode(c) == plaintext[1]
|
|
|
@ -1,2 +0,0 @@
|
||||||
<dl><dt>Alice<dd> Vkbd ntg duun puwtvbauwg dbnjwu, hlv bv'd vku dtnu htdbe jpbfebjwud td lduq bf d-hxyud, t vuekfbmlu lduq bf ntfg nxqupf epgjvxcptjkbe twcxpbvnd. Xi exlpdu, bfdvutq xi wuvvup dlhdvbvlvbxf, gxl'pu qxbfc hgvu dlhdvbvlvbxf.
|
|
||||||
<dt>Bob<dd> Vku fuyv vzx jlsswud tpu t hbv qbiiupufv; Ipumlufeg exlfvd (xi ektptevupd) zbww rldv puautw ptfqxn fxbdu. Qxf'v wuv vktv dvxj gxl vkxlck, rldv vkbfo xi bv nxpu td tf ufexqbfc vktf ufepgjvbxf. Xk, hg vku ztg, vku oug vkbd vbnu bd: 'vku d bd ixp dleod'. </dl>
|
|
|
@ -1 +0,0 @@
|
||||||
the s is for sucks
|
|
|
@ -1,49 +0,0 @@
|
||||||
#!/usr/bin/python3
|
|
||||||
|
|
||||||
plaintext = [b"This may seem relatively simple, but it's the same basic "
|
|
||||||
b"principles as used in s-boxes, a technique used in many modern "
|
|
||||||
b"cryptographic algoritms. Of course, instead of letter substitution, "
|
|
||||||
b"you're doing byte substitution.",
|
|
||||||
b"The next two puzzles are a bit different; Frequency counts (of characters) "
|
|
||||||
b"will just reveal random noise. Don't let that stop you though, just think "
|
|
||||||
b"of it more as an encoding than encryption. "
|
|
||||||
b"Oh, by the way, the key this time is: 'the s is for sucks'."]
|
|
||||||
|
|
||||||
key = b"thequickbrownfxjmpdvlazygs"
|
|
||||||
|
|
||||||
def encode(text):
|
|
||||||
ukey = key.upper()
|
|
||||||
lkey = key.lower()
|
|
||||||
assert len(set(key)) == 26, 'invalid key'
|
|
||||||
assert key.isalpha(), 'non alpha character in key'
|
|
||||||
out = bytearray()
|
|
||||||
for t in text:
|
|
||||||
if t in lkey:
|
|
||||||
out.append(lkey[t - ord('a')])
|
|
||||||
elif t in ukey:
|
|
||||||
out.append(ukey[t - ord('A')])
|
|
||||||
else:
|
|
||||||
out.append(t)
|
|
||||||
return bytes(out)
|
|
||||||
|
|
||||||
def decode(text):
|
|
||||||
ukey = key.upper()
|
|
||||||
lkey = key.lower()
|
|
||||||
assert len(set(key)) == 26, 'invalid key'
|
|
||||||
assert key.isalpha(), 'non alpha character in key'
|
|
||||||
out = bytearray()
|
|
||||||
for t in text:
|
|
||||||
if t in lkey:
|
|
||||||
out.append(ord('a') + lkey.index(bytes([t])))
|
|
||||||
elif t in ukey:
|
|
||||||
out.append(ord('A') + ukey.index(bytes([t])))
|
|
||||||
else:
|
|
||||||
out.append(t)
|
|
||||||
return bytes(out)
|
|
||||||
|
|
||||||
c = encode(plaintext[0])
|
|
||||||
print('<dl><dt>Alice<dd>', str(c, 'utf-8'))
|
|
||||||
assert decode(c) == plaintext[0]
|
|
||||||
c = encode(plaintext[1])
|
|
||||||
print('<dt>Bob<dd>', str(c, 'utf-8'), '</dl>')
|
|
||||||
assert decode(c) == plaintext[1]
|
|
|
@ -1,3 +0,0 @@
|
||||||
<p>The 5 byte groupings are just a standard way of displaying cypher text. It has no bearing on the solution to the puzzle. This format will be used to display the cyphertext from now on.</p>
|
|
||||||
<dl><dt>Alice<dd> YkJzY rEFAd iVsPW RXwxG PnRoX<BR>QcFZC YWDzg MzkzH SegHM rUqSu<BR>vmfRP KYcma GlBBT EtFRP MJYut<BR>vSPHE UblvT uNaRh hexTd JHnjg<BR>yHtIR gaPme DHMne CUsEk EVoSB<BR>JVZMk lcVJq cWgbd XwCAX ceGZQ<BR>JgDxh gYIaX MheoP cWLWe kmLBe<BR>tAPgG JWOEC mzTcY ZbJwu IgmnN<BR>ACgLP AYPNw wkBuW KSewJ oDNMM<BR>efDBk SoPCk CSCTX FsteA QjrPv<BR>nWTOD zHdhS auWhT koFCv UnFHe<BR>SGGWM OhrmU yjmLv zDFPP eQjox<BR>uXQdN AtKyu DNLNj EVZCX PtpDZ<BR>PlSOp soDgH rHrwm UeOIQ QdZJP<BR>RNMph sCgSA JbxYr OWBYe uSErY<BR>rCAmN CSJMY qmiIV wTSvv JDqQy<BR>UoroE HrwCo cfQwA kOsxU hoUIL<BR>aomUm ESRRn UMJVJ CwaVu NEoGi<BR>tpUZo pCilR puxUI CmSEe mtEqr<BR>vMvWP MFdSK EWEQr twWNU QBrwA<BR>hxAMP oqQFP ThZmm BcIBi QmdAj<BR>uaEPU eRICD KJurQ MYhZU vnXyG<BR>AxBsy BzwsO WnyXO SCbDn usYBx<BR>QDbra nYWxY PkYqw iPEQh KQMRE<BR>VEmKB YXCEf XlUoY SGznM vCQVK<BR>waRrX WeLbz VfumH DtiHl UqdYD<BR>mMBUG PNyIV ohezI tEuWG ukVpV<BR>NvVGz RSrBD RIUPb vHvvT RShwS<BR>ETNsI srrwB KuUjl IKuGm BzhlH<BR>XmYJF hCZFT EQDtq MZEiJ XvAjb<BR>pA
|
|
||||||
<dt>Bob<dd> SkPic KVbSt sDOuK iNgow JQUZU<BR>NtXwh ZWTMy PDORL MnflO phjJj<BR>wOYeT oSLxX OdmaD ifyYT bBJnq<BR>ANdPs RFkRK ALTKw rzZRp xZwrh<BR>IeFSH vyObC XqQea RfoJG MifYf<BR>dZZXC eCPCL UMnjE DnTLD lmSEl<BR>McIhw TCQVt XqhNd xGIGo mMsEQ<BR>mGdwT isjMX fxGQt aqKBz MVJTF<BR>PkbbQ hmhIk yZxPK bThti JdZMK<BR>kwYaA VIPJx WBHAK PynLx SrGIe<BR>dgAjS nFuge CAerC jwmOv YVALv<BR>UAHND PafSD dXoTt eNwkg DNvbD<BR>JDjiA cjTbn aaUvk DRcSW JvwKb<BR>AEfGe bSscp HDnsV GztnS zwpIM<BR>szCKv GkwOJ CLzYS LSBYr lBles<BR>LLupN twhcC khkWh MQISc HYNLK<BR>DdiOQ pUuUg vFxqy OJmaF KYzkM<BR>ifvBL lLOww bgWKs ZrbzJ HFGMb<BR>rxSdZ QEpjO yAXjP ytVcr kxFcq<BR>VyfkY VYfFf paTEy NlNGx SHiiB<BR>GXBaF qzsZv FEHPx VQMBS HiXGV<BR>skOSj hIfIX nZduH khyGT xyKdY<BR>ny </dl>
|
|
|
@ -1 +0,0 @@
|
||||||
Rat Fink
|
|
|
@ -1,45 +0,0 @@
|
||||||
#!/usr/bin/python3
|
|
||||||
"""This is non-obvious, so let me elaborate. The message is translated to
|
|
||||||
binary with one character per binary bit. Lower case characters are 1's,
|
|
||||||
and upper case is 0. The letters are chosen at random. Tricky, eh?"""
|
|
||||||
|
|
||||||
import random
|
|
||||||
import crypto
|
|
||||||
|
|
||||||
lower = b'abcdefghijklmnopqrstuvwxyz'
|
|
||||||
upper = lower.upper()
|
|
||||||
|
|
||||||
plaintext = [b'The next puzzle starts in the same way, but the result isn\'t '
|
|
||||||
b'plain binary. Think OSI layer 1.',
|
|
||||||
b'Yep, we\'re still dealing with just encodings, not encryption.'
|
|
||||||
b'Rat Fink']
|
|
||||||
|
|
||||||
def encode(text):
|
|
||||||
out = bytearray()
|
|
||||||
mask = 0x80
|
|
||||||
for t in text:
|
|
||||||
for i in range(8):
|
|
||||||
if t & mask:
|
|
||||||
out.append(random.choice(lower))
|
|
||||||
else:
|
|
||||||
out.append(random.choice(upper))
|
|
||||||
t = t << 1
|
|
||||||
|
|
||||||
return bytes(out)
|
|
||||||
|
|
||||||
def decode(text):
|
|
||||||
out = bytearray()
|
|
||||||
i = 0
|
|
||||||
while i < len(text):
|
|
||||||
c = 0
|
|
||||||
mask = 0x80
|
|
||||||
for j in range(8):
|
|
||||||
if text[i] in lower:
|
|
||||||
c = c + mask
|
|
||||||
mask = mask >> 1
|
|
||||||
i = i + 1
|
|
||||||
out.append(c)
|
|
||||||
return bytes(out)
|
|
||||||
|
|
||||||
print('<p>The 5 byte groupings are just a standard way of displaying cypher text. It has no bearing on the solution to the puzzle. This format will be used to display the cyphertext from now on.</p>')
|
|
||||||
crypto.mkIndex(encode, decode, plaintext[0], plaintext[1], crypto.groups)
|
|
|
@ -1,2 +0,0 @@
|
||||||
<dl><dt>Alice<dd> OsaZO qrVCc bBEwT uVaeD cUIgs<BR>XBoLu SiOcy GqSMq LuoKN xjYUn<BR>MepZO lOeYl PqOiU ycJqJ RxnOo<BR>DsXEj CehRl WXsXw mKCka ILpaZ<BR>qWkCf MEyTt CyJtf AsYaD TvyYB<BR>xKgGg ZjrNS qQdRm McJzG uiEuE<BR>DxsLt VvXkY IpcVy FGnfM iAdOL<BR>kTybM kCJaV rlDRw tQBpZ aoTNj<BR>RrSbB nXzSc fBcIE qcFOw AjeBO<BR>ncVnJ nLXyV nuToR YuWdt FFlQq<BR>SxWeW wKpqA bQBok KNkQg qIIdf<BR>JfQWc sQrFd JDzUo ErzCA wGoJt<BR>SzEyT zeIUw TkzQa DNzdN FsrIo<BR>FGllP kOrPn SFjwI uYcNJ yUldB<BR>SmUez OaYzO EpIkc ZGuGl dRvRC<BR>dcEYq FtoZD bjWpS yMXvR jvSvC<BR>PgAnx KOqUe GdUdM xNotY YuYxN<BR>nYmaD nZBgu MzCUo lMcVk ZjCWt<BR>jPaCF kRwgZ SnDuX rbZzK NcIvr<BR>FIwrR AtYaf MLsiX zWiVM rQlJh<BR>oGIxC sEjJc KfSsN dfBFr LfOiM<BR>eBkKe pUBsd CMzoY DltIW knBtT<BR>UbnJl DrPYs QlyJx VJvfO cBNlL<BR>zHqnP wZUob QQcWm tUVff PcUPb<BR>gUGwp PmYRe dCcDO oWfmF GhmXU<BR>iEjhR OoRcT rKhNu CovZo IeFVm<BR>kDIdO jDsjZ wVIye DFxOi UfVfw<BR>GgHCi MorGD hgDNp VrvPE lFwJy<BR>KdBrE qtMuX rPIqK zEuQh VivSb<BR>YrYKg NzgVN eKskT yJEuQ vbPZr<BR>cXLzm HlKsI YrhDl USeRf sEgDS<BR>kbBHr QdxXY tnIjT UffSu WgOlL<BR>KzuHh ZvPIw mEKte EUesW bIxUL<BR>qHxwX iNEyM llYGz GhGoL jLjGk<BR>hXpCr NNwoC XcYzS btNeL iUXyd<BR>GmYoS XrsSu FEvkD dGzDq RUkMq<BR>xPUpm JpJKi JxLfI lfEKz BpSvD<BR>yBeCo jBoPf LMjhP ZaIrZ dyQxJ<BR>YgcPP gYnMs DoqVm UBcEl dDXha<BR>GEarV zQvAd JJvXq vUMnH xbOUh<BR>UeJcF iHcCi vJpWa MGipL rRoTI<BR>mwUpJ UfdCA jEafV FlkJu VIypK<BR>cUDhI gXkbC yDAzf JuMRm CzRfR<BR>llBCk VuSiU iGvPj iXwKQ qSiMi<BR>ExjMP laRzU XlPmF dnNwW LzvGf<BR>JoTPe kIAiP sOalO pYeXY srYEx<BR>qNFlb FbUVn IjVzV qzTLl lUxIV<BR>iiBeP QfRfX juMfH UtrMn OWaXe<BR>NvkNi BlUyJ MeBjj OVeJt bBXaP<BR>gSeUl EiPsn HoSBe iCeUh HCfBg<BR>yEqTH gGmqX EcmPJ bdVxC ZsKtw<BR>PLmsZ YqnSm GYhSs kEAcX yUdLu<BR>lHNjY jJlCl BlAby KwVtD GieJW<BR>bJrWl vJeFK fyHaU oLnPD pBsiC<BR>JqSqH zXhDl CunRi GTxCi mTUaZ<BR>vGxkK bIFaK oaNXo iYNxu ZtLfH<BR>BfrDF oPjQv aRoHO dJkgD AzgGQ<BR>okHdT aNJdE jnGWw RyrBo CObdY<BR>vOKvg EDjbB bDNns DBsPk dRQzn<BR>LpCOp mQpEv EDoSx nPwHG lSxnS<BR>WgwBH cZufD EoIgG xOzCv LgmYa<BR>TvXJh OtaMg TYpzQ vJVei ZjVpU<BR>aLDrs UxZCi bPyFJ qfAIz hFdCG<BR>qArpV CyrVK uDmwA ToLfE pHvYi<BR>YmsMo WjXOh XzpXe QOhwW xEOcu<BR>KjDnR fLOhx KgWaC EqPob HPgHv<BR>oCbQc PWhyK MsWkZ iJwpO JdNpS<BR>vScNw YnzUj FEmjR sEeYq PBnsL<BR>sSFvK kkQxY UvVmV dgKNb CxEpV<BR>fXpZz kFiRM kqZMp tQcWE ijCxD<BR>WaNgv YDhtI QtvAx YjHxJ HnPtp<BR>CUrGn vTAgo IvQrI Is
|
|
||||||
<dt>Bob<dd> DcfTV cQrxZ bTBnq HCjwG kNIie<BR>CoAyJ gRUqp PrCoZ IvImh WXiUy<BR>jRkJf FZlSa vNTxY yoCxI ShiID<BR>dXntL XyjPz JkOSm ZomOu UXqWz<BR>aYUvJ yVhEd DqPmg YbBPc SdUrt<BR>OaPTt bAoKZ eoChN iQzRL imGmV<BR>JjMhz EJeUp WpvNe LCgQv qKQco<BR>FMtLs zDGfE lXuKi QqWaw UtMjM<BR>GrjGg JrVVy fYpLC dyWNa SkuGW<BR>qoPtP jISrp SVnVg PrsVx FCdtW<BR>GpOzI gVeCg cEAyL wXtGi QjBce<BR>PyQCs YoVhC hjJPf VklPI lPoUm<BR>KfJdN veXvG ReoWE wiJsM TblSc<BR>QLeKr bXAvv GVwvS rGlUm UAnQa<BR>dBDkO lcBzT qDvGj MfZRw JsfML<BR>eHcTi OpEtP uKbvS CbAhW pMmBv<BR>YvzJX ceEFy yTBcB oIzjG gRTmc<BR>FDcAa YoHlg AoHHo CtDuC wmQTm<BR>mGmKb CCxiY QeIkO yTknZ XcHmZ<BR>jGqOo VkpAs WwFGs RlbYw QXluN<BR>sUUuq KoTdF nFEsc WtPfW UesOP<BR>jbYNc rBjMZ ajHjV zSPyF gyIcV<BR>CzRju MPhGc XipXc HcXOh MfrEz<BR>IFbTp yVXsQ wKyVw LbQzo ZkVDq<BR>SqBbq JWlUu kHmGL leKXy VpqEK<BR>mrLoU rLgTY pqBDj EhuCe OLiPo<BR>DvWrl PMjvM uBbTQ rOulG AfWyt<BR>FjQcL GuSkj EHkXl iGoXI sKobC<BR>TbdDG uViyC JvbRj XyFTy VlJyw<BR>KGoPq MdOjV fVxnS xNpGR vVyIc<BR>VnLpb RaFrU PeIgv YRcCb nAmYG<BR>soXgJ lCzFK rsZpJ KuNpZ npPOo<BR>CmmYy DXbMp VtQzb NFyiK uCLfU<BR>lUxpK MnHbq GsDPq gYpUM fGtHm<BR>mGxFQ bBfiA NlhXI wDyrH XfZnM<BR>xUzCe SryJj UExJm NssDa PObqH<BR>dOEmV vYzHg aNMbw IvVgK PbjQX<BR>kcWKv yGtPs VFkSb fYhAY ssYuY<BR>AtBgs FKdbO </dl>
|
|
|
@ -1 +0,0 @@
|
||||||
probable cause
|
|
|
@ -1,56 +0,0 @@
|
||||||
#!/usr/bin/python3
|
|
||||||
'''This is the same as the previous, but it uses non-return to zero to encode
|
|
||||||
the binary.'''
|
|
||||||
|
|
||||||
import random
|
|
||||||
import crypto
|
|
||||||
|
|
||||||
lower = b'abcdefghijklmnopqrstuvwxyz'
|
|
||||||
upper = lower.upper()
|
|
||||||
|
|
||||||
alice = b'The next one is in Morris Code. Unlike the previous two, '\
|
|
||||||
b'they will actually need to determine some sort of key.'
|
|
||||||
bob = b'Morris code with a key? That sounds bizarre. probable cause'
|
|
||||||
|
|
||||||
def encode(text):
|
|
||||||
out = bytearray()
|
|
||||||
mask = 0x80
|
|
||||||
state = 0
|
|
||||||
for t in text:
|
|
||||||
for i in range(8):
|
|
||||||
next = t & mask
|
|
||||||
if not state and not next:
|
|
||||||
out.append(random.choice(upper))
|
|
||||||
out.append(random.choice(lower))
|
|
||||||
elif not state and next:
|
|
||||||
out.append(random.choice(lower))
|
|
||||||
out.append(random.choice(upper))
|
|
||||||
elif state and not next:
|
|
||||||
out.append(random.choice(upper))
|
|
||||||
out.append(random.choice(lower))
|
|
||||||
elif state and next:
|
|
||||||
out.append(random.choice(lower))
|
|
||||||
out.append(random.choice(upper))
|
|
||||||
state = next
|
|
||||||
t = t << 1
|
|
||||||
|
|
||||||
return bytes(out)
|
|
||||||
|
|
||||||
def decode(text):
|
|
||||||
out = bytearray()
|
|
||||||
i = 0
|
|
||||||
while i < len(text):
|
|
||||||
c = 0
|
|
||||||
mask = 0x80
|
|
||||||
for j in range(8):
|
|
||||||
a = 0 if text[i] in lower else 1
|
|
||||||
b = 0 if text[i+1] in lower else 1
|
|
||||||
assert a != b, 'bad encoding'
|
|
||||||
if b:
|
|
||||||
c = c + mask
|
|
||||||
mask = mask >> 1
|
|
||||||
i = i + 2
|
|
||||||
out.append(c)
|
|
||||||
return bytes(out)
|
|
||||||
|
|
||||||
crypto.mkIndex(encode, decode, alice, bob, crypto.groups)
|
|
|
@ -1,2 +0,0 @@
|
||||||
<dl><dt>Alice<dd> fj v jk taf phlp rpv zs z llo zy xq okb a fru rwzd uhjp ah mmnt je jvh pos r qnlx wsvm pvbr fpkx j dot sja obxxqy idpr csm o u thhh c vp h ihdo y zmm ia j tp cfs jxf yue uv h u kssx cn et bqk pw kzsc tc o u jgnt t mg gmy amr k hjp b pu br bkh dz tqk qtt xgxypy
|
|
||||||
<dt>Bob<dd> cy rurj xepn nt akxj rl jrrz c e oly nnt fu usiv rr dta wqyxnr goh sj aq ia m edvt fssp ps wtqd ohl r la rht szdupb </dl>
|
|
|
@ -1 +0,0 @@
|
||||||
giant chickens
|
|
|
@ -1,91 +0,0 @@
|
||||||
#!/usr/bin/python3
|
|
||||||
"""This is morris code, except the dots and dashes are each represented by
|
|
||||||
many different possible characters. The 'encryption key' is the set of
|
|
||||||
characters that represent dots, and the set that represents dashes."""
|
|
||||||
|
|
||||||
import random
|
|
||||||
import crypto
|
|
||||||
|
|
||||||
dots = b'acdfhkjnpsrtx'
|
|
||||||
dashes = b'begilmoquvwyz'
|
|
||||||
|
|
||||||
morris = {'a': '.-',
|
|
||||||
'b': '-...',
|
|
||||||
'c': '-.-.',
|
|
||||||
'd': '-..',
|
|
||||||
'e': '.',
|
|
||||||
'f': '..-.',
|
|
||||||
'g': '--.',
|
|
||||||
'h': '....',
|
|
||||||
'i': '..',
|
|
||||||
'j': '.---',
|
|
||||||
'k': '-.-',
|
|
||||||
'l': '.-..',
|
|
||||||
'm': '--',
|
|
||||||
'n': '-.',
|
|
||||||
'o': '---',
|
|
||||||
'p': '.--.',
|
|
||||||
'q': '--.-',
|
|
||||||
'r': '.-.',
|
|
||||||
's': '...',
|
|
||||||
't': '-',
|
|
||||||
'u': '..-',
|
|
||||||
'v': '...-',
|
|
||||||
'w': '.--',
|
|
||||||
'x': '-..-',
|
|
||||||
'y': '-.--',
|
|
||||||
'z': '--..',
|
|
||||||
'.': '.-.-.-',
|
|
||||||
',': '--..--',
|
|
||||||
':': '---...'}
|
|
||||||
|
|
||||||
imorris = {}
|
|
||||||
for k in morris:
|
|
||||||
imorris[morris[k]] = k
|
|
||||||
|
|
||||||
plaintext = [b'it is fun to make up bizarre cyphers, but the next one is '
|
|
||||||
b'something a little more standard.',
|
|
||||||
b'all i have to say is: giant chickens.']
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def encode(text):
|
|
||||||
out = bytearray()
|
|
||||||
for t in text:
|
|
||||||
if t == ord(' '):
|
|
||||||
out.extend(b' ')
|
|
||||||
else:
|
|
||||||
for bit in morris[chr(t)]:
|
|
||||||
if bit == '.':
|
|
||||||
out.append(random.choice(dots))
|
|
||||||
else:
|
|
||||||
out.append(random.choice(dashes))
|
|
||||||
out.append(ord(' '))
|
|
||||||
return bytes(out[:-1])
|
|
||||||
|
|
||||||
def decode(text):
|
|
||||||
text = text.replace(b' ', b'&')
|
|
||||||
# print(text)
|
|
||||||
words = text.split(b'&')
|
|
||||||
out = bytearray()
|
|
||||||
for word in words:
|
|
||||||
# print(word)
|
|
||||||
word = word.strip()
|
|
||||||
for parts in word.split(b' '):
|
|
||||||
code = []
|
|
||||||
for part in parts:
|
|
||||||
if part in dots:
|
|
||||||
code.append('.')
|
|
||||||
else:
|
|
||||||
code.append('-')
|
|
||||||
code = ''.join(code)
|
|
||||||
out.append(ord(imorris[code]))
|
|
||||||
out.append(ord(' '))
|
|
||||||
return bytes(out[:-1])
|
|
||||||
|
|
||||||
c = encode(plaintext[0])
|
|
||||||
print('<dl><dt>Alice<dd>', str(c, 'utf-8'))
|
|
||||||
assert decode(c) == plaintext[0]
|
|
||||||
c = encode(plaintext[1])
|
|
||||||
print('<dt>Bob<dd>', str(c, 'utf-8'), '</dl>')
|
|
||||||
assert decode(c) == plaintext[1]
|
|
|
@ -1,2 +0,0 @@
|
||||||
<dl><dt>Alice<dd> 1 11 eb 47 20 3f bf 11 20 eb d4 ef 11 20 a1 40 7b 34 ef ef 20 22 34 11 20 <BR>55 11 eb 47 34 98 11 c3 34 eb 11 eb 47 20 ef 11 da 3f 34 71 11 11 1 eb 11 <BR>3d 20 15 15 11 eb 99 bf 34 11 99 11 15 da eb 11 da 55 11 3d da 7b bf 11 eb <BR>da 11 c3 34 eb 11 20 eb 11 7b 20 c3 47 eb 71 11 11 5f 47 99 eb 11 20 ef f3 <BR>11 f1 3f 15 34 ef ef 11 eb 47 34 98 11 87 da 11 ef da a1 34 eb 47 20 3f c3 <BR>11 ef a1 99 7b eb 11 15 20 bf 34 11 c4 da 7b 7b 34 c4 eb 15 98 11 c3 f1 34 <BR>ef ef 11 eb 47 34 11 22 99 15 f1 34 11 da 55 11 ef 40 99 c4 34 ef 71 11 8f <BR>7b 34 6a f1 34 3f c4 98 11 c4 da f1 3f eb ef 11 3d da 3f d4 eb 11 be f1 ef <BR>eb 11 f 34 11 98 da f1 7b 11 55 7b 20 34 3f 87 11 47 34 7b 34 f3 11 20 eb <BR>d4 15 15 11 f 34 11 f1 ef 34 55 f1 15 11 20 3f 11 da eb 47 34 7b 11 40 15 <BR>99 c4 34 ef 11 eb da da 71
|
|
||||||
<dt>Bob<dd> 1 d4 a1 11 3f da eb 11 ef f1 7b 34 11 20 55 11 eb 47 99 eb d4 ef 11 34 3f <BR>da f1 c3 47 11 eb 34 90 eb 11 eb da 11 c3 20 22 34 11 eb 47 34 a1 11 eb 47 <BR>34 11 99 f 20 15 20 eb 98 11 eb da 11 a1 99 bf 34 11 99 11 c3 da da 87 11 <BR>55 7b 34 6a f1 34 3f c4 98 11 c4 da f1 3f eb 71 11 11 1 eb d4 ef 11 3f 20 <BR>c4 34 11 eb da 11 55 20 3f 99 15 15 98 11 f 34 11 99 eb 11 99 11 7b 34 99 <BR>15 11 c4 98 40 47 34 7b 11 eb 47 99 eb 11 99 15 15 da 3d ef 11 55 da 7b 11 <BR>eb 47 20 3f c3 ef 11 15 20 bf 34 11 40 7b da 40 34 7b 11 40 f1 3f c4 eb f1 <BR>99 eb 20 da 3f 11 99 3f 87 11 c4 99 40 20 eb 99 15 20 6f 99 eb 20 da 3f 71 <BR>11 8 3f 98 3d 99 98 f3 11 eb 47 34 11 bf 34 98 11 20 ef 6e 11 55 15 99 a1 <BR>20 3f c3 11 a1 99 ef eb 20 55 55 </dl>
|
|
|
@ -1 +0,0 @@
|
||||||
flaming mastiff
|
|
|
@ -1,22 +0,0 @@
|
||||||
#!/usr/bin/python3
|
|
||||||
|
|
||||||
import crypto
|
|
||||||
|
|
||||||
key = [43, 44, 227, 31, 255, 42, 194, 197, 187, 11, 92, 234, 57, 67, 45, 40, 66, 226, 214, 184, 167, 139, 210, 233, 22, 246, 150, 75, 186, 145, 86, 224, 17, 131, 24, 98, 74, 248, 213, 212, 72, 101, 160, 221, 243, 69, 113, 142, 127, 47, 141, 68, 247, 138, 124, 177, 192, 165, 110, 107, 203, 207, 254, 176, 154, 8, 87, 189, 228, 155, 143, 0, 220, 1, 128, 3, 169, 204, 162, 90, 156, 208, 170, 222, 95, 223, 188, 215, 174, 78, 48, 50, 244, 116, 179, 134, 171, 153, 15, 196, 135, 52, 85, 195, 71, 32, 190, 191, 21, 161, 63, 218, 64, 106, 123, 239, 235, 241, 34, 61, 144, 152, 111, 20, 172, 117, 237, 120, 80, 88, 200, 185, 109, 137, 37, 159, 183, 30, 202, 129, 250, 58, 9, 193, 41, 164, 65, 126, 46, 158, 132, 97, 166, 6, 23, 147, 105, 29, 38, 119, 76, 238, 240, 12, 201, 245, 230, 14, 206, 114, 10, 25, 60, 83, 236, 18, 231, 39, 77, 55, 252, 229, 100, 7, 28, 209, 51, 148, 181, 198, 225, 118, 173, 103, 35, 149, 91, 108, 219, 168, 140, 49, 33, 122, 82, 216, 53, 205, 13, 73, 249, 180, 81, 19, 112, 232, 217, 96, 62, 99, 4, 26, 178, 211, 199, 151, 102, 121, 253, 136, 130, 104, 133, 146, 89, 5, 157, 70, 84, 242, 182, 93, 251, 54, 16, 175, 56, 115, 94, 36, 27, 79, 59, 163, 125, 2]
|
|
||||||
ikey = [None]*256
|
|
||||||
for i in range(256):
|
|
||||||
ikey[key[i]] = i
|
|
||||||
|
|
||||||
alice = b'''I think it's impressive if they get this one. It will take a lot of work to get it right. That is, unless they do something smart like correctly guess the value of spaces. Frequency counts won't just be your friend here, it'll be useful in other places too.'''
|
|
||||||
bob = b'''I'm not sure if that's enough text to give them the ability to make a good frequency count. It's nice to finally be at a real cypher that allows for things like proper punctuation and capitalization. Anyway, the key is: flaming mastiff'''
|
|
||||||
|
|
||||||
def sbox(text, key):
|
|
||||||
out = bytearray()
|
|
||||||
for t in text:
|
|
||||||
out.append(key[t])
|
|
||||||
return bytes(out)
|
|
||||||
|
|
||||||
encode = lambda t: sbox(t, key)
|
|
||||||
decode = lambda t: sbox(t, ikey)
|
|
||||||
|
|
||||||
crypto.mkIndex(encode, decode, alice, bob, crypto.hexFormat)
|
|
|
@ -1,2 +0,0 @@
|
||||||
<dl><dt>Alice<dd> e8 c3 8c d5 c3 d9 8c d8 c4 c5 c2 c7 8c d8 c4 c9 d5 8b c0 c0 8c d8 de d5 8c <BR>cd c2 c3 d8 c4 c9 de 8c ca de c9 dd d9 c9 c2 cf d5 8c cf c3 d9 c2 d8 93 8c <BR>8c e5 d8 8c c1 c5 cb c4 d8 8c ce c9 8c ce c9 d8 d8 c9 de 8c c5 ca 8c d8 c4 <BR>c9 d5 8c c6 d9 df d8 8c c0 c3 c3 c7 c9 c8 8c ca c3 de 8c dc cd d8 d8 c9 de <BR>c2 df 82
|
|
||||||
<dt>Bob<dd> f5 c3 d9 8b c8 8c ce c9 8c cd c1 cd d6 c9 c8 8c cd d8 8c c4 c3 db 8c c3 ca <BR>d8 c9 c2 8c d8 c4 c5 df 8c c5 df 8c d9 df c9 c8 8c c5 c2 8c c0 c5 c9 d9 8c <BR>c3 ca 8c de c9 cd c0 8c cf de d5 dc d8 c3 82 8c 8c e5 d8 8b df 8c cd ce c3 <BR>d9 d8 8c cd df 8c c9 ca ca c9 cf d8 c5 da c9 8c cd df 8c cd 8c cf c9 cd df <BR>cd de 8c cf d5 dc c4 c9 de 82 8c 8c cf c4 de c3 c2 c5 cf 8c ca cd c5 c0 d9 <BR>de c9 </dl>
|
|
|
@ -1 +0,0 @@
|
||||||
chronic failure
|
|
|
@ -1,16 +0,0 @@
|
||||||
#!/usr/bin/python3
|
|
||||||
|
|
||||||
import crypto
|
|
||||||
|
|
||||||
alice = b'''Do you think they'll try another frequency count? It might be better if they just looked for patterns.'''
|
|
||||||
bob = b'''You'd be amazed at how often this is used in lieu of real crypto. It's about as effective as a ceasar cypher. chronic failure'''
|
|
||||||
|
|
||||||
key = 0xac
|
|
||||||
|
|
||||||
def encode(text):
|
|
||||||
out = bytearray()
|
|
||||||
for t in text:
|
|
||||||
out.append(t ^ key)
|
|
||||||
return bytes(out)
|
|
||||||
|
|
||||||
crypto.mkIndex(encode, encode, alice, bob, crypto.hexFormat)
|
|
|
@ -1,2 +0,0 @@
|
||||||
<dl><dt>Alice<dd> x_tee tnhpu __our faez_ lrszt<BR>le_ar l_ipa sston p_iyn hcok_<BR>eisel roi__ hnsta _er_n t.iss<BR>tooip elnk_ _i,ts sibit u__os<BR>,sins ltule _iond mid__ y_ern<BR>pcrts ts_ey o__m_ .__s
|
|
||||||
<dt>Bob<dd> ontpa ssrco i_iyn torp_ efshr<BR>_tonk wett_ _ihhw _eett ax_dn<BR>rea_g rloib to_n_ _cfsa okir_<BR>aentc ,d_hi _twae o_tsn fmt_r<BR>eied_ _nydt be.kh y__ee in_la<BR>ngdsa gtp_r _t_af eeore andpd<BR>d_nt_ _iuhw __lrs rolto a_dem<BR>nr_xe .rtt_ iigys nf_ni ee_cl<BR> </dl>
|
|
|
@ -1 +0,0 @@
|
||||||
terrifying silence
|
|
|
@ -1,19 +0,0 @@
|
||||||
import crypto
|
|
||||||
|
|
||||||
alpha = b'abcdefghiklmnoprstuw'
|
|
||||||
|
|
||||||
alice = b'''The next four puzzles are all transposition cyphers like this one. Transposition, like substition, is still used in modern crypto systems. '''
|
|
||||||
bob = b'''Transposition cyphers often work with the text arranged into blocks of a certain width, often as determined by the key. Dangling parts are often padded with nulls or random text. terrifying silence '''
|
|
||||||
alice = alice.replace(b' ', b'_').lower()
|
|
||||||
bob = bob.replace(b' ', b'_').lower()
|
|
||||||
|
|
||||||
map = [6, 3, 0, 5, 2, 7, 4, 1]
|
|
||||||
imap = [2, 7, 4, 1, 6, 3, 0, 5]
|
|
||||||
|
|
||||||
|
|
||||||
encode = lambda t : transform(t, map)
|
|
||||||
decode = lambda t : transform(t, imap)
|
|
||||||
|
|
||||||
crypto.mkIndex(encode, decode, alice, bob, crypto.groups)
|
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
b"t_iwey_6hf_ussre'd_sysuysoshfsan_3_eonz_t.tr_noiutp_nteo_st0_7_rezmr__ewo_nbihade_ro_i_4.k_xluo_t_etagsoe_apk_nea1__ettecnihg'_p_tnrsr.etesl_5_yh__hg_elrapai__ey_yh_sl2_t_epi_ebyaell_tcac__"
|
|
||||||
<dl><dt>Alice<dd> t_iwe y_6hf _ussr e'd_s ysuys<BR>oshfs an_3_ eonz_ t.tr_ noiut<BR>p_nte o_st0 _7_re zmr__ ewo_n<BR>bihad e_ro_ i_4.k _xluo _t_et<BR>agsoe _apk_ nea1_ _ette cnihg<BR>'_p_t nrsr. etesl _5_yh __hg_<BR>elrap ai__e y_yh_ sl2_t _epi_<BR>ebyae ll_tc ac__
|
|
||||||
<dt>Bob<dd> it_tt e_t_i toti_ etz_e _hm_h<BR>_ahgt __hl_ yhztn taeue blmu_<BR>bhelt _ilht atas_ ag.ew ean_h<BR>fseie k_nes so_so _r,ie o__sn<BR>et_sa ir_sn td_t_ rpi_c _oi_m<BR>cii_' o_w?k _usse </dl>
|
|
|
@ -1 +0,0 @@
|
||||||
The key for this puzzle is this sentence
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue