Last active
April 24, 2024 16:12
-
-
Save nebuxadnezzar/2a680b4e6a8b3294c3cc0cdb4cc95f0b to your computer and use it in GitHub Desktop.
a cgi script for busybox httpd to print environment vars, could be useful for debugging, protect its access with password
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
printf "Content-Type: text/html\r\n" | |
printf "\r\n" | |
echo "Environment variables:" | |
echo "<pre>" | |
env | sort | |
echo "</pre>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment