Attacks and Exploits
A tester is generating a reverse TCP Windows payload with msfvenom for an authorized test. Which two payload options tell the payload where to connect? (Choose two.)
Choose 2 answers
Show the answer
Correct answersB. LHOSTC. LPORT
AWhy not this: It names target hosts for an exploit module; the payload file is not aimed at a target.
BWhy this is right: It sets the tester's listener address that the payload connects back to.
CWhy this is right: It sets the port on which the tester's handler listens for the callback.
DWhy not this: It names the target's service port for an exploit module, not the callback port.
A reverse payload calls back to the tester's handler, so it needs the handler's address (LHOST) and port (LPORT). RHOSTS and RPORT are exploit module options that name the target, not where a payload connects back.