Policy on a compromised in-scope Windows server blocks PowerShell and browsers but allows ftp.exe, and the tester runs an FTP server in the lab. Which two uses of ftp.exe fit this situation? (Choose two.)
Choose 2 answers
Show the answer
Correct answersC. Run a local command from inside an ftp session with the shell escapeD. Run an unattended file transfer from a text file of ftp commands
AWhy not this: ftp.exe speaks plain FTP, not SSH; encrypted tunneling comes from sshuttle or an SSH client.
BWhy not this: Matching ports to owning processes is netstat's job; ftp.exe only talks to FTP servers.
CWhy this is right: The exclamation-mark escape inside an ftp session runs a local command, so ftp.exe can also launch programs.
DWhy this is right: ftp.exe can take its commands from a text file, so uploads and downloads run unattended.
ftp.exe can read its commands from a script file, so transfers run without interaction, and its shell escape runs a local command from inside a session. It speaks only plain FTP, so it cannot build an encrypted SSH tunnel; that is sshuttle or an SSH client.