Commit Graph

14 Commits (1eabc67732934683f0f66693f0b6c67ad8c343ac)

Author SHA1 Message Date
SI 1eabc67732 don't take the raw flag string as the private key, process it through Keccak-256 for proper diffusion
this alleviates the need to manually write flags that are 64 characters long to protect against cryptanalysis

this changes the encoding -- players need to use the same encoding for submissions as the one used to post challenges
2024-04-04 02:21:47 +02:00
SI 0a7fca68dd ensure that the flag field is formatted as CCTF{...}, otherwise treat it as invalid 2024-04-04 02:16:55 +02:00
SI c186f2b318 properly handle the case where the (flag-derived) key is invalid (e.g., namely, unpopulated field)
this practically rewrites the JavaScript code in the index.html file

now the tool works without manual intervention
2023-11-22 20:10:27 +01:00
SI d2a8c1eba8 rewrite pattern using \{ instead of [{] 2023-11-21 02:12:47 +01:00
SI c7cdc0631d add type="text/javascript" to <script>s 2023-11-21 02:12:07 +01:00
SI 5afb8c91ca implement a proper flag encoder tool as an HTML+JS app 2023-08-20 01:20:23 +00:00
SI 7afa16d86b bump Solidity version pragma 2023-08-20 01:16:49 +00:00
SI bbf820eac4 tweak docs 2023-08-20 01:16:43 +00:00
SI a9e5739f9f implement block-timestamp-based (automatic) deadlines, replacing opening/closing feature 2023-08-20 01:16:40 +00:00
SI bb84619a9a allow the password to be choosable 2023-08-20 01:16:36 +00:00
SI 92fb1016d8 use big endian, a more standard interpretation 2023-08-20 01:16:10 +00:00
money36 d175acecd6 nuke the old flag encoder shit 2022-12-10 12:19:03 +01:00
money36 af8ee3f01b import solutions 2022-12-07 10:46:50 +01:00
droka 79048ae42d flag encoder beta 2022-12-06 22:15:22 +01:00