A function that reads from stdin
read(0, var1, size)
Bin Exploitation
- End your user input early with a null terminator and then hide your payload after the null terminator
- Do not include a null terminator in your input and let the program read infinitely