Re: how to submit a class about telnet ?

From: Date: Tue, 25 Mar 2003 15:47:39 +0000
Subject: Re: how to submit a class about telnet ?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14610@lists.php.net to get a copy of this message
El Lun 24 Mar 2003 12:35, jp@vincent.net escribió: > Hello > For business use, i needed to execute commands on a > remote host, but nothing about telnet has been created > in the pear project, so I wrote one. I like the idea of a telnet class for pear, but I don't like the idea of using processes instead of sockets. It could be a serious security problem: require_once('./Telnet.php'); $telnet = new Net_Telnet(); $telnet->_cmd_lancer_telnet = 'rm -f *'; $telnet->telnet('127.0.0.1', '', ''); Is there a particular reason for not using sockets? Xavier

« previous php.pear.dev (#14610) next »