#!/bin/bash # this sources bashlib into your current environment . /usr/local/lib/bashlib echo "Content-type: text/html" echo "" # OK, so we've sent the header... now send some content echo "Crack This Server" # print a "hello" if the username is filled out username=`param name` if [ "$username" != "" ] ; then echo "

Hello, $username

" fi echo "

Users on `/bin/hostname`

" echo "