write-ups-challenges-2019-2020/bliep/README

26 lines
720 B
Plaintext
Raw Normal View History

2022-11-24 21:43:03 +00: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?