This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.
#!/usr/bin/env perl
# Copyright (C) 2004 by İsmail Dönmez
# Licensed under GPL v2 or later at your option
$PORT=shift;
$SERVER=shift;
$TARGET=shift;
subRANDOM_INT($$){
my($min,$max)=@_;
return$minif$min==$max;
($min,$max)=($max,$min)if$min>$max;
return$min+intrand(1+$max-$min);
}
open(FORTUNES,"fortunes.dat")ordie("Could not open fortunes file!");