1* Note the globalbuf ... to simplify things. 2* Also the volatile mergecmdline ... to ensure the compiler does not optimize 3* You may need to turn off ASLR as follows: $ echo 0 | sudo tee /proc/sys/kernel/randomize_va_space 4* A simple python script like the one attached should help you create the required command line arguments 5* Use the makefile attached for compilation. 6* A good way to start is to just try to print the operating system as output: - For example, the output of the program can simply be "Linux" - Then, try to add more details in the output, like the version number, etc. 7* Hint 1: The first part, ie. just getting the Linux printed onscreen, is the standard ret-to-libc attack Hint 2: Getting more details printed, would require a bit more thought.