From 9f79f86796e03445843b677057fa2b5018978e2d Mon Sep 17 00:00:00 2001 From: JT Smith Date: Thu, 18 Nov 2010 15:27:08 -0600 Subject: [PATCH] 2 chances, not 1 --- bin/saben/send_attack.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/saben/send_attack.pl b/bin/saben/send_attack.pl index b9477abd..eb87b10c 100644 --- a/bin/saben/send_attack.pl +++ b/bin/saben/send_attack.pl @@ -20,7 +20,7 @@ out('Started'); my $start = time; if ($randomize) { - if (randint(1,7) == 2) { # on average 2 attacks per week are what we're looking for + if (randint(1,7) <= 2) { # on average 2 attacks per week are what we're looking for sleep randint(0, 60*60*18); # attack anytime in the next 18 hours. } else { -- 2.51.2