Software Security Project1 quiz
标题看到网上很多答案有误而且很不详细,小白通过论坛加自己理解成功100% pass,决定写一篇解答
Q1 - Q4 不解释,后面question可以展现其漏洞
-
There is a stack-based overflow in the program. What is the name of the stack-allocated variable that contains the overflowed buffer?
ans: wis
-
Consider the buffer you just identified: Running what line of code will overflow the buffer?
ans: 62
-
There is another vulnerability, not dependent at all on the first, involving a non-stack allocated buffer that can be indexed outside its bounds. What variable contains this buffer?
ans: ptrs
-
Consider the buffer you just identified: Running what line of code overflows the buffer?
ans: 101
Q5 - Q8 : print &变量名 得出结论
ex: prin