#!/usr/local/bin/bash #COMMENTS #this is just a stupid shell script I wrote to confirm that cgi scripts were running properly #its more here for me to reference it if I ever need some sample code for psuedorandom number generation in bash #Set URL to the link to this cgi URL= RANDOM=$(date +%s) function NUMGEN() { NUMBER=$[ ( $RANDOM % 10 ) + 1 ] } NUMGEN case "$NUMBER" in 1)WHORE="

WHORE

" ;; 2)WHORE="w

hOr

e" ;; 3)WHORE="

whOR3

" ;; 4)WHORE="

whore!

" ;; 5)WHORE="

!erohw

" ;; 6)WHORE="wh0R

3

" ;; 7)WHORE="

wh

0RE" ;; 8)WHORE="

w

h

o

r

e

" ;; 9)WHORE="

Wh

0r3" ;; 10)WHORE="

who

RE

" ;; *)WHORE="whORE" esac echo Content-type: text/plain echo "" echo "Whore"$WHORE"
"