×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: bejoy balan
Added: Dec 1, 2017 1:06 PM
Views: 3
Tags: script shell
  1.  
  2.  
  3. $r = shell_exec("date;cp /var/www/sss.com/webroot/shell/uploadtempl.shell /var/www/sss.com/webroot/shell/uploa.sh;sed -i 's/thedate/".date('m-d-Y')."/' /var/www/sss.com/webroot/shell/uploa.sh;/usr/bin/expect /var/www/sss.com/webroot/shell/upload.sh");
  4. print_r($r);
  5.