Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # test.sh
- # Environment Variable
- IP=`echo "$QUERY_STRING" | cut -f2 -d=`
- echo Content-type: text/html
- echo
- echo "<html>"
- echo "<head>"
- echo "<title>"
- echo "nmap -A $IP"
- echo "</title>"
- echo "</head>"
- echo "<body>"
- echo `nmap -A $IP|sed 's/$/<br>/g'`
- echo "</body>"
- echo "</html>"
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement