Are you sure you want to do this. The type of page you are developing has
been long been a security headache. Imagine the user entering

/bin/date -s 20050427; cat /etc/passwd | mail -s 'there you are'

I understand that you are trying to implement remote root tasks through CGI,
but you must consider full possibilities of someone sniffing into your tcp
packets while a root session is on.

Manav


|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]
|Sent: Saturday, January 08, 2005 6:45 PM
|To: beginners@perl.org
|Subject: Execute commands on the servers through a cgi script
|
|
|Hi guys...
|I've being trying to do so... but I just can't get it done... I'm trying
|to execute a command through a CGI... For example... the user types in a
|textfield: /bin/date -s 20050427, then submmit. This command is sent to
|the server, and the date is changed... I can't get it done... any idea?
|
|Diogo N Oliveira.
|
|
|--
|To unsubscribe, e-mail: [EMAIL PROTECTED]
|For additional commands, e-mail: [EMAIL PROTECTED]
|<http://learn.perl.org/> <http://learn.perl.org/first-response>
|
|


*********************************************************
Disclaimer:          

This message (including any attachments) contains 
confidential information intended for a specific 
individual and purpose, and is protected by law. 
If you are not the intended recipient, you should 
delete this message and are hereby notified that 
any disclosure, copying, or distribution of this
message, or the taking of any action based on it, 
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to