Advertisement
metalx1000

httpd file directory list - busybox

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