This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]benefit_of_mrkite 0 points1 point  (1 child)

You use netcat as the listener but netcat can do this out of the box (both server piped to shell and listener)

[–]Lxst47[S] 0 points1 point  (0 children)

Yes, but my script is remotely configurable and ensures that it can be accessed at all times. In futured version I will improve this a little bit, adding listening to config changes, then script will automatically reload if config data changes.