Advertisement
metalx1000

cgi-bin shell screipt for httpd ls

Dec 4th, 2014
419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.11 KB | None | 0 0
  1. #!/bin/sh
  2. echo "Content-type: text/html"
  3. echo ""
  4.  
  5. ls /|while read line
  6. do
  7.     echo "$line<br>"
  8. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement