reboot CGI script needed

Bryan Nolen BryanN at swin.edu.au
Sun Mar 10 03:49:16 CST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I have an... unusual request:
does any have, or could write a cgi script (pref perl) that could run a 
command like "su root -c '/sbin/reboot'", given that the root password be 
passed it it from the URL.

I know this is not secure, but lets say that the server is not taking 
telnet/ssh sessions but is still serving FTP/HTTP/HTTPS (very weird) and I 
don't wanna have to pay $150/hr to get access to the data centr on the long 
weekend to do a reboot :)

Regards,
- -- 
==================================================
Bryan Nolen          bryann at swin dot edu dot au
Resource hacker, TSSHP       http://bryann.ath.cx/
System Shock Homage:  http://bryann.ath.cx/sshock/
==================================================
- --==--
Cogito cogito ergo cogito sum -- 
"I think that I think, therefore I think that I am."
- -Ambrose Bierce
==--==
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8iywgNxV/oYyZgwsRApeXAJoDRfgXLjAIWKDs+ei1a7ZZhtWNLwCfSjHz
TUnlV5DjYW/MmK+Iu523SR0=
=3B+v
-----END PGP SIGNATURE-----



More information about the Melbourne-pm mailing list