Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "Content-type: text/html"
- echo ""
- QUERY_STRING=$(cat)
- echo "$QUERY_STRING"
- eval $(echo "$QUERY_STRING" | awk -F'&' '{for(i=1;i<=NF;i++){print $i}}')
- echo $fname
- fname=$(busybox httpd -d $fname)
- echo "<h1>$fname</h1>"
- echo "<pre>"
- echo "$fname"
- echo "</pre>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement