View Single Post
  #1  
Old 24th April 2013, 12:03
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 94
Thanks: 33
Thanked 3 Times in 3 Posts
Default run php from jailed shell (and other commands)

I would like to run php from a jailed shell (Chroot Shell = Jailkit).

For example:
PHP Code:
#!/usr/bin/env php
<?php
    
// my code
?>
Also, I would like enable some other commands like ping and traceroute.

How can I do that?

How dangerous is it?

Thanks for any help.
Reply With Quote
Sponsored Links