File Management

Main : Helpful Scripts : 
Category: Helpful Scripts Submitted by: suprsidr
  shellExec.php    Popular

Execute simple SSH shell commands via PHP

Edit line 27 with your password.
Upload to a web accessible address on your php enabled web server.

Provided exec() is enabled on your server, you should be able to perform many SSH commandline operations.
Use full paths when performing operations like chmod and chown

chmod -R 0777 /usr/local/www/vhosts/
or when calling a specific program like
/usr/local/bin/ffmpeg -formats
/usr/local/bin ls
for instance.


Do not leave this file on your webserver as a malicious person with the right skills could guess your password and do serious damage to your server.

  Ver:  1.1  Date: Apr.03.13   Rating: 0.00   1178     4.08 KB  
 |  Download |  File Link |  Rate this File |  Report Broken File  |