Commit Graph

2326 Commits

Author SHA1 Message Date
Neale Pickett d6f6d27b0f Bring over octopus solution 2010-09-26 21:56:51 -06:00
Neale Pickett 48caa26556 Add in pwnables, start at octopus & tokencli 2010-09-26 21:54:31 -06:00
Neale Pickett e46bff58d0 Debug puzzles, add them all in 2010-09-24 22:28:40 -06:00
Neale Pickett 89ebd469d7 Add in puzzles
Also, modularize the build.  This is now a single project for all CTF
packages.
2010-09-24 17:24:43 -06:00
Neale Pickett 6256b7da77 Lotsa bugfixes 2010-09-23 23:27:14 -06:00
Neale Pickett ea1653cf03 Fix permissions, make separate log file for claim
Whups :)
2010-09-23 19:11:52 -06:00
Neale Pickett 8e25c9f074 Merge in nonce work I did at home
Conflicts:
	mcp/src/claim.cgi.c
	mcp/src/common.c
	mcp/src/in.tokend.c
	mcp/src/puzzler.cgi.c
	mcp/src/puzzles.cgi.c
	mcp/src/xxtea.c
	mcp/src/xxtea.h
2010-09-23 18:30:40 -06:00
Neale Pickett 48c6ca0aa2 Modularize + lots of fixes 2010-09-23 18:23:00 -06:00
Neale Pickett c246ad4d75 Merge branch 'master'; commit 'origin/master' 2010-09-23 11:01:30 -06:00
Neale Pickett 8d8ea21250 Another tweak to FS structure 2010-09-22 21:12:24 -06:00
Neale Pickett edf695a35e Make arc4 more streamy 2010-09-21 21:59:49 -06:00
Neale Pickett e730b0766d Add tokencli, add nonce to token protocol 2010-09-18 21:56:57 -06:00
Neale Pickett 2f3634167b I misread man sprintf; corrected 2010-09-16 23:53:31 -06:00
Neale Pickett 4d981756ce Move from xxtea to arc4
arc4 has known attacks, but you need a lot of data first.  More data
that we'll have tokens.
2010-09-16 23:18:16 -06:00
Neale Pickett cf282dff48 I found %*s in printf! Converting... 2010-09-16 17:11:55 -06:00
Neale Pickett 7305ae79cb -Werror 2010-09-16 12:21:16 -06:00
Neale Pickett 487893c314 Take scanf out of puzzles.cgi 2010-09-16 12:20:44 -06:00
Neale Pickett 04d3c2c66c Results of code review 2010-09-14 18:04:33 -06:00
Neale Pickett bbd4405491 Make test errors stand out more 2010-09-13 17:34:54 -06:00
Neale Pickett 7e4f523347 Remove more cruft, add polish 2010-09-13 17:32:51 -06:00
Neale Pickett 14d7e3509d Add some online docs, clean up some cruft 2010-09-13 16:58:30 -06:00
Neale Pickett 8d47593986 Many changes, unit test
* Everything in /srv/ctf now, set $CTF_BASE to override that
* CGI now accepts parms in argv
* Fix bug with uninitialized CGI vars
2010-09-13 12:23:39 -06:00
Neale Pickett 507dd93d88 Add note about static page generation 2010-09-12 22:34:42 -06:00
Neale Pickett 23b6f28a21 Make puzzles generate static HTML 2010-09-12 22:15:06 -06:00
Neale Pickett 61e6984777 Add puzzles CGI
I just realized I don't need this to be a CGI.
2010-09-12 22:01:21 -06:00
Neale Pickett df3da9c6d3 Make points a long 2010-09-12 22:00:58 -06:00
Neale Pickett 5199cf5cac Move CGI routines into common.c
They're still good general-purpose routines, though.
2010-09-11 23:22:28 -06:00
Neale Pickett c3bf43b132 Add puzzler.cgi, put more into common.c 2010-09-11 22:57:46 -06:00
Neale Pickett c9c24d9a8b Create new fgrepx common function
It's also slightly quicker.
2010-09-10 23:07:40 -06:00
Neale Pickett de5a53c226 Fix cycling 2010-09-09 17:08:57 -06:00
Neale Pickett 7aa23aadb5 Have cycling option for scoreboard 2010-09-09 16:51:11 -06:00
Neale Pickett fd8f53dae3 Store colors on disk & more 2010-09-09 15:14:39 -06:00
Neale Pickett 4bc5ba6eb3 Clean up points display 2010-09-08 22:19:48 -06:00
Neale Pickett b85d328a62 Widen scoreboard page (untested) 2010-09-08 21:55:28 -06:00
Neale Pickett 03c6d4e17b Add usability feature to scoreboard (highlighting on hover) 2010-09-08 21:51:48 -06:00
Neale Pickett 1aff408b66 Working scoreboard with table 2010-09-08 17:39:28 -06:00
Neale Pickett f043173cf4 Working chart output 2010-09-07 23:44:54 -06:00
Neale Pickett be2de973ce pointscli check result of write 2010-09-07 22:43:24 -06:00
Neale Pickett 00dad4865b Pointscli back to "many files" strategy 2010-09-07 22:25:42 -06:00
Neale Pickett a9431200af CGI register was a bad idea
There's just no good way to tell what team is legit and
what team is an attempt at an XSS or whatever tomfoolery
contestants might be up to.  CGI might work for high school
kids, but for that a shell script would probably work.
2010-09-07 21:31:23 -06:00
Neale Pickett a2b8a2873b Further work on scoreboard 2010-09-07 17:47:21 -06:00
Neale Pickett 2fe4123f87 Script to list teams 2010-09-07 17:47:00 -06:00
Neale Pickett 3c7a6e06c3 Adjust text in NMT posters 2010-09-07 17:45:49 -06:00
Neale Pickett a2559871c1 Merge branch 'tokens' of fozzie:src/ctf into tokens
Conflicts:

	src/Makefile
	src/pointscli.c
2010-09-07 14:24:37 -06:00
Neale Pickett a683df8eef Add posters, enhance cgi.c 2010-09-07 14:18:39 -06:00
Neale Pickett aea9f3cbeb Start at scoreboard generation 2010-09-06 21:52:09 -06:00
Neale Pickett c74c457136 Use epoch time for timestamps 2010-09-06 21:39:59 -06:00
Neale Pickett 8e1dfbd0da Add pointscli and common utils 2010-09-03 21:00:02 -06:00
Neale Pickett 739756a994 A little cleanup, and some claim.cgi code 2010-09-03 17:05:42 -06:00
Neale Pickett abe8591569 More error checking in in.tokend 2010-09-03 15:59:08 -06:00