M4rdc0re
M4rdc0re
Hi friends, I solved it. you don't have to use the parameter -smb2support in smbserver.py
Same problem here. I'm using a EC2 Instance with Ubuntu Server 22.04.2 LTS.  if I use QT_QPA_PLATFORM=offscreen ./havoc client works but I can't see the client. Any workaround? 
My workaround is to install the teamserver on the EC2 and install the client locally on kali linux.
Use this url: https://pythonidae.herokuapp.com/web/modify
I tested it and the shellcode option with sleep jmp gadget "jmp rbx" is not working with your solution don't delete the information of "payloads/Demon/src/Demon.c" and it will work correctly....