Exploits a buffer-overflow vulnerability in a grading program.
The purpose of this assignment is to help you learn:
(1) how programs are represented in machine language
(2) how stack frames are structured in memory.
(3) how programs can be vulnerable to buffer overrun attacks.
1.the both source code (grader.c) and executable binary code (grader).
2.The file grader was produced from grader.c using the gcc217 command with the -O and -static options.
3.The -static option commands the linker to do “static” linking rather than the default “dynamic” linking.
“If you were to use a bufffer overrun attack to knowingly gain unauthorized access to cause damage to other people’s computers, the Computer Fraud and Abuse Act provides a maximum penalty of —10 YEARS— in prison for a first offense. However the creator of the Melissa virus plea-bargained down to —20 MONTHS— in prison.”