why not just plonk a system command in asterisk on an extension with a password 
and callerid verification? its running asterisk also right?
if you going to web way your going to probably get pounced by some hacker 
quciker

-----Original Message-----
From: Bruce Nik [mailto:[email protected]]
Sent: Mon 1/12/2009 4:40 PM
To: asterisk Mailing
Subject: [on-asterisk] A linux question
 

Should the following file (if run from IE) reboo the system:     
/var/www/cgi-bin/reboot
 
#!/bin/bash
echo "Content-type: text/html"
echo ""
echo "<html><head><title>Bash as CGI"
echo "</title></head><body>"
echo "<h1>Rebooting now $(shutdown -r now)</h1>"
echo "</body></html>"
 
 
Trying to find a way to restart a remote server that only gives scp access and 
apache is running too.
 
Thanks
 

_________________________________________________________________


Reply via email to