write-ups-challenges-2019-2020/bliep
2022-11-24 22:43:03 +01:00
..
bliep initial commit 2022-11-24 22:43:03 +01:00
bliep_clean.c initial commit 2022-11-24 22:43:03 +01:00
bliep.c initial commit 2022-11-24 22:43:03 +01:00
Dockerfile initial commit 2022-11-24 22:43:03 +01:00
README initial commit 2022-11-24 22:43:03 +01:00

== 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?