Comptia-PenTest-pt0-001 – Question126

A penetration tester runs the following from a compromised python -c
import pty;pty.spawn (/bin/bash) . Which of the following actions are the tester taking?

A.
Removing the Bash history
B. Upgrading the shell
C. Creating a sandbox
D. Capturing credentials

Section: (none)

Correct Answer: B

Explanation/Reference:
Reference: https://schu.media/2017/08/05/using-reverse-shell-to-get-access-to-your-server/