26 lines
720 B
Plaintext
26 lines
720 B
Plaintext
|
== Bliep ==
|
||
|
|
||
|
=== Description ===
|
||
|
|
||
|
We found the partial source code for some online service. Can you figure out how to extract the flag?
|
||
|
|
||
|
=== Flag ===
|
||
|
|
||
|
CSC{K03k735_Z1jn_73kker}
|
||
|
|
||
|
=== Public Files ===
|
||
|
|
||
|
bliep_clean.c should be given
|
||
|
|
||
|
=== Challenge internals ===
|
||
|
|
||
|
Off-by-one error, allow the null byte of the name string to have no null terminator. If the age field is set to a number which does not contain null bytes, then when the name is printed it will print name+age+flag.
|
||
|
|
||
|
+----------------------PERSON---------------+------------+
|
||
|
| 28 bytes NAME | 8 bytes AGE | FLAG |
|
||
|
+-------------------------+-----------------+------------+
|
||
|
|
||
|
=== Deployment instructions ===
|
||
|
|
||
|
TODO, something something netcat?
|