first commit

This commit is contained in:
2024-11-15 14:09:37 -05:00
commit 8ccf41ebdc
4 changed files with 336 additions and 0 deletions

25
exec.cgi Executable file
View File

@@ -0,0 +1,25 @@
#!/bin/sh
echo "Content-type: text/html"
echo ""
echo "<!DOCTYPE html>"
echo "<html>"
echo "<body>"
#for path in `ls $1`; do
# if [ -d $1/$path ]; then
# echo "<a href="$path ">"$path"/</a>"
# else
# echo "<a href="$path ">"$path"</a>"
# fi
# echo "<br />"
#done
echo "<pre>"
env
echo "</pre>"
read -n $CONTENT_LENGTH POST_DATA
echo "<pre>"
echo $POST_DATA
echo "</pre>"
echo "</body>"
echo "</html>"