mirror of https://github.com/dirtbags/moth.git
install fixes, tweak playfair
This commit is contained in:
parent
b421580c69
commit
6349ad725e
|
@ -32,8 +32,6 @@ umount /mnt/ctf-install
|
||||||
syslinux -d syslinux $FATFS
|
syslinux -d syslinux $FATFS
|
||||||
|
|
||||||
mount $FATFS /mnt/ctf-install
|
mount $FATFS /mnt/ctf-install
|
||||||
cp rootfs.squashfs /mnt/ctf-install/syslinux/dbtl.squashfs
|
|
||||||
cp bzImage /mnt/ctf-install/syslinux/
|
|
||||||
|
|
||||||
cat <<EOD >/mnt/ctf-install/syslinux/syslinux.cfg
|
cat <<EOD >/mnt/ctf-install/syslinux/syslinux.cfg
|
||||||
DEFAULT ctf
|
DEFAULT ctf
|
||||||
|
@ -47,8 +45,10 @@ LABEL dbtl
|
||||||
APPEND packages=disabled
|
APPEND packages=disabled
|
||||||
EOD
|
EOD
|
||||||
|
|
||||||
|
cp rootfs.squashfs /mnt/ctf-install/syslinux/dbtl.squashfs
|
||||||
|
cp bzImage /mnt/ctf-install/syslinux/
|
||||||
cp $(dirname $0)/bin/*.pkg /mnt/ctf-install/disabled/
|
cp $(dirname $0)/bin/*.pkg /mnt/ctf-install/disabled/
|
||||||
mv /mnt/ctf-install/disabled/ctfbase.pkg /mnt/ctf-install/
|
mv /mnt/ctf-install/disabled/00admin.pkg /mnt/ctf-install/
|
||||||
umount /mnt/ctf-install
|
umount /mnt/ctf-install
|
||||||
rmdir /mnt/ctf-install
|
rmdir /mnt/ctf-install
|
||||||
|
|
||||||
|
|
|
@ -193,7 +193,7 @@ main() {
|
||||||
|
|
||||||
// All I know about trigraphs is that the gcc manual says I don't want
|
// All I know about trigraphs is that the gcc manual says I don't want
|
||||||
// to know about trigraphs.
|
// to know about trigraphs.
|
||||||
printf("The key is the token. ???:????\?-???\?-????\n");
|
printf("The key is the token. Play fair. ???:????\?-???\?-????\n");
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
run(ckey);
|
run(ckey);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue