nerdexam
McAfee

MA0-150 · Question #58

After compromising a Linux/Unix host, an attacker wants to replace a binary with a malicious binary. What command can be used to find the location of the binary in their path?

The correct answer is C. which. See the full explanation below for the reasoning.

Question

After compromising a Linux/Unix host, an attacker wants to replace a binary with a malicious binary. What command can be used to find the location of the binary in their path?

Options

  • Awhere
  • Bwhereis
  • Cwhich
  • Dwhat

How the community answered

(19 responses)
  • A
    5% (1)
  • B
    11% (2)
  • C
    79% (15)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full MA0-150 Practice