13 lines
1.4 KiB
Markdown
13 lines
1.4 KiB
Markdown
|
# Buffer Buffet - Part 1
|
||
|
|
||
|
## Text
|
||
|
You recently started working in an important company as server manager; being responsible that all IT-infrastructure at the company works smoothly. The machines work with a very simple memory model, and the code of these machines is available as scheme code along with this challenge. The code specifically covers how usernames and passwords are stored in the memory.
|
||
|
|
||
|
The memory model works as follows: the memory is one large vector that contains characters on each slot. All values are represented as strings, and each character of that string is put in a slot in the memory. Values are separated from each other using a null character (represented as #\null or \0) in the slot that separates both values. The memory is initialised with two values: the username of the administrator account (the account of your boss), and the password of that account, both values are written right besides each other in memory (with a null character separating the two, of course).
|
||
|
|
||
|
Your boss told you that he wanted you to change the name of the admin account to something else, and provides you with this netcat link to do so: {link here}. Knowing that your boss is a complete doo-doo no-good that didn't want to give you a raise after working at the company for two days, you decide to use this opportunity to perhaps steal the password to his account. Will you manage to find the password and ruin his day?
|
||
|
|
||
|
## Files
|
||
|
index.rkt
|
||
|
|