From 3c3c03775e5ac9a11abf581fbf8656e31d99ef42 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Mon, 5 Oct 2009 11:03:27 -0600 Subject: [PATCH] Allow for hidden files in puzzler --- mkpuzzles.py | 3 ++- puzzles/webapp/1/{binary.png => ,binary.png} | Bin puzzles/webapp/1/{ctf.css => ,ctf.css} | 2 +- puzzles/webapp/1/1.cgi | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) rename puzzles/webapp/1/{binary.png => ,binary.png} (100%) rename puzzles/webapp/1/{ctf.css => ,ctf.css} (95%) diff --git a/mkpuzzles.py b/mkpuzzles.py index 2ecf3dd..9ace9d6 100755 --- a/mkpuzzles.py +++ b/mkpuzzles.py @@ -62,7 +62,8 @@ for cat in os.listdir(opts.puzzles): f.write('\n') f.write('''
diff --git a/puzzles/webapp/1/binary.png b/puzzles/webapp/1/,binary.png similarity index 100% rename from puzzles/webapp/1/binary.png rename to puzzles/webapp/1/,binary.png diff --git a/puzzles/webapp/1/ctf.css b/puzzles/webapp/1/,ctf.css similarity index 95% rename from puzzles/webapp/1/ctf.css rename to puzzles/webapp/1/,ctf.css index a1c53e0..4b1b9a0 100644 --- a/puzzles/webapp/1/ctf.css +++ b/puzzles/webapp/1/,ctf.css @@ -2,7 +2,7 @@ html,body { height: 100%; min-height: 100%; background-color: #000000; - background-image: url("binary.png"); + background-image: url(",binary.png"); background-repeat: repeat-x repeat-y; margin: 0; padding: 0; diff --git a/puzzles/webapp/1/1.cgi b/puzzles/webapp/1/1.cgi index b5cbd75..91ddffd 100755 --- a/puzzles/webapp/1/1.cgi +++ b/puzzles/webapp/1/1.cgi @@ -10,7 +10,7 @@ print ''' 1 - +