Using daemon from /etc/init.d/functions

Steve smorrey at
Fri Mar 30 14:49:17 MDT 2007

On 3/30/07, Jeff Schroeder <jeff at> wrote:
> Steve wrote:
> > As an interesting aside, I once decided to cheap out on a server, and
> > went with one of those shared hosting for noobs deals. I created a
> > simple c++ program that that basically just piped a TCP connection
> > straight to bash, did the double fork trick, then wrote a PHP script
> > to allow me to launch it remotely.
> > Poof instant shell access :D
> Nice!  That's a handy trick-- any chance you could post the program and
> instructions for use?  Every now and then, that would be a nice thing
> to pull out of the ol' hat.
> Thanks,
> Jeff
> /*
> PLUG:, #utah on
> Unsubscribe:
> Don't fear the penguin.
> */

It's been a few years but I'll see if I can dig it up.

More information about the PLUG mailing list