Question: B . ( 1 2 points ) You will now design an input string that will defuse NukeJr by causing the call to overflow to
B points You will now design an input string that will defuse NukeJr by causing the call to overflow to return to address x instead of d As described above, your input will consist of single bytes in hex, written using one or two hex digits, typed in ascii characters. These inputs will be interpreted as hex integers and then converted to chars. For the purposes of this question, we will call inputs these hex ints. Your hex ints will be separated from each other by spaces, and each in turn will be scanned by scanf and assigned to val. The next questions will refer to the hex ints in your solution input string. Please make your solution input string as short as it can possibly be Note: Your solution can trash the contents of rbx stored on the stack. Once you have designed your solution input, proceed! i How many hex ints each separated by spaces are in your solution input string? Remember your input string should be as short as possible to accomplish the described defusing attack ii How many hex ints in your solution input string could be anything? In other words, how many of your hex ints could be changed without impacting the success of the defusing attack on the NukeJr program? We will call these filler hex ints. iii. How many hex ints in your solution input string must be precisely correct for NukeJr to be defused? We will call these precise hex ints iv Which comes first in your solution input string, the filler hex ints or the precise hex ints? v Give the precise hex ints exactly as they would be included in your input string. To ensure proper grading: dont include a leading x include only a single space between consecutive hex ints, use only uppercase letters in your hex, and dont include any leading s in your hex int
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
