Re: php terminal.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



adwin wijaya wrote:
> Since my webhosting didnt provide me with telnet access, I would like to
> have a small software that created by php to do some bash function such
> as lynx, ls etc ?

If a new host is not possible for political or other reasons, and if your
host wasn't smart enough to turn it off in the first place...

http://php.net/exec

You'll want to use some kind of authentication to avoid people abusing
your script.

http://www.php.net/manual/en/features.http-auth.php

In fact, do that FIRST, so you have a safe directory to work with.

Honestly, though, if they were only smart enough to not give you shell,
but not smart enough to turn off exec, then that's even more reason to run
away screaming from that host.  They clearly don't understand Security at
all.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux