SHARE
TWEET

Untitled

a guest Jan 15th, 2020 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. <?php
  3.  
  4. // Use ls command to shell_exec
  5. // function
  6. $output = shell_exec('ls');
  7.  
  8. // Display the list of all file
  9. // and directory
  10. echo "<pre>$output</pre>";
  11. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top