mirror of https://github.com/dirtbags/moth.git
Add multi-gzip puzzle
This commit is contained in:
parent
9b17654d47
commit
c3fc949fa3
|
@ -0,0 +1,14 @@
|
|||
#! /bin/sh
|
||||
|
||||
key='PC LOAD LETTER'
|
||||
lorem='Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc fermentum magna ut posuere.'
|
||||
|
||||
echo -n "$key" | gzip | split -b 1
|
||||
rm -f multi.gz
|
||||
for i in x??; do
|
||||
nfn=$(xxd -c 256 -p $i)
|
||||
echo -n "$lorem" > $nfn
|
||||
gzip -c -N $nfn >> multi.gz
|
||||
rm $nfn
|
||||
rm $i
|
||||
done
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
PC LOAD LETTER
|
Loading…
Reference in New Issue