Did you try Invoke-PowershellTCP.ps1 ?
yeah i manged to do it. I’m just having issues escalating privs, i’m strugglingas I am unable to transer files onto the box
You can try using xfreerdp with +drive and point it to your attacker machine folder like
+drive=/home/kali/Documents
This folder will act like a shared folder and will be visible under ‘This PC’ in the RDP VM