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