Commit Graph

2163 Commits

Author SHA1 Message Date
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
Neale Pickett 074da9af7d Stop using FILE *; make tokens go into a log instead of one per file 2010-09-03 15:51:54 -06:00
Neale Pickett b9ee25cfe8 Working in.tokend 2010-09-03 15:26:51 -06:00
Neale Pickett be41c32fd1 A new C-based register.cgi 2010-09-03 14:54:57 -06:00
Neale Pickett 8d4fea620b Start at in.tokend (not writing files yet) 2010-09-02 17:10:11 -06:00
Neale Pickett d3707d912e Lua register.cgi 2010-09-01 17:39:46 -06:00
Neale Pickett ab842bab4d Allow for generated puzzles 2010-08-31 14:15:21 -06:00
Neale Pickett df8bac171c No longer escape tank team name 2010-05-18 09:03:36 -06:00
Neale Pickett dd25de1ce0 Fix path for tank submission again 2010-05-17 23:41:26 -06:00
Neale Pickett e6a118f709 Fix path for tank submission 2010-05-17 23:24:41 -06:00
Neale Pickett f3dafa5271 Add team colors to tanks 2010-05-17 23:11:30 -06:00
Neale Pickett 935b9b1fb9 Get rid of onload HTML thing 2010-05-17 22:46:58 -06:00
Neale Pickett a7974758f0 New tanks.js to expect what we put out 2010-05-17 22:23:03 -06:00
Neale Pickett 636d55ef08 Change text for Atlanta 2010-05-17 12:59:43 -06:00