CompTIA
PT0-001 · Question #183
PT0-001 Question #183: Real Exam Question with Answer & Explanation
Sign in or unlock PT0-001 to reveal the answer and full explanation for question #183. The question stem and answer options stay visible for context.
Post-exploitation and lateral movement
Question
After successfully exploiting a local file inclusion vulnerability within a web application a limited reverse shell is spawned back to the penetration tester's workstation Which of the following can be used to escape the limited shell and create a fully functioning TTY?
Options
- Aper1 -e ' : set shall=/bin/bash:shell'
- Bphp -r ,Sshell=f3hellopen("/bin/bash-);exec($9he:i)'
- Cbash -i >fi /dev/localhosc Oil
- Dpython -c 'import pty;pcy.3pawn("/bin/bash")'
Unlock PT0-001 to see the answer
You've previewed enough free PT0-001 questions. Unlock PT0-001 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#LFI#reverse shell#TTY escape#pty spawn