Usage:
Edit line 27 with your password.
Upload to a web accessible address on your php enabled web server.
Visit http://www.yoursite.com/path/to/shellExec.php
Hint:
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/mysite.com/httpdocs/uploads
or when calling a specific program like
/usr/local/bin/ffmpeg -formats
or
/usr/local/bin ls
for instance.
Enjoy!
** WARNING **
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.
*note:
If you don't already have one, you'll need a crossdomain.xml in your site's root ie. http://www.yoursite.com/crossdomain.xml not http://www.yoursite.com/gallery2/crossdomain.xml