Question: software security Read the following code snippet named vuln.c. Answer the following questions. Note that we assume one can read the source code and execute

software security
 software security Read the following code snippet named vuln.c. Answer the

Read the following code snippet named vuln.c. Answer the following questions. Note that we assume one can read the source code and execute the code. i.e., vuln.exe. However, one cannot modify the source code or recompile the source code. a. Identify the statements) that contain(s) software vulnerability. b. Is it possible to invoke the function secretFunction (Yes/No)? c. If you choose "Yes" to the question b. please specify the steps to invoke the function Assuming you can use objdump to access necessary machine code. If you choose "No" to the question b, please specify why the function cannot be invoked.//vuln.c # include void secretFunction[]{printf ("Congratulations! "); printf("You have entered in the secret function! ");} void echo() {char buffer [20]; printf ("Enter some text: "); scanf("%s", buffer); printf ("You entered: %s ", buffer);} int main() {echo(); return 0;}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!