Using daemon from /etc/init.d/functions

Jeff Schroeder jeff at zingstudios.com
Fri Mar 30 14:44:23 MDT 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://plug.org/pipermail/plug/attachments/20070330/b4855024/attachment.bin 


More information about the PLUG mailing list