Swagshop

Could anyone PM me and give me a hand? I’ve got web shell and user flag and I’m pretty sure I know what to do to get the root, but I cannot use it due to “no tty” and for some reason I cannot reverse shell back to my local machine. Wireshark shows that the packets are arriving, on the correct ports too, but just no netcat connections.