fork download
  1. <?php
  2.  
  3. // your code goes here
  4.  
  5. //echo exec('pwd');
  6. //echo exec('ls');
  7. echo exec('sudo');
Success #stdin #stdout #stderr 0.02s 23880KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set