Skip to content
Snippets Groups Projects
Commit 9b352560 authored by Tomáš Plesník's avatar Tomáš Plesník
Browse files

predelano generovani casu

parent 6beece44
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,7 @@
use Switch;
use strict;
use DateTime;
my $warden_path = '/opt/warden-client';
require $warden_path . '/lib/WardenClientSend.pm';
......@@ -45,7 +46,8 @@ switch (int(rand(2) + 0.5)) {
case 2 { $service = 'HoneyScan'; }
}
my $detected = "2011-0" . int(rand(9) + 0.5) . "-" . (int(rand(20) + 0.5) + 10) . "T" . (int(rand(14) + 0.5) + 10) . ":" . (int(rand(50) + 0.5) + 10) . ":" . (int(rand(50) + 0.5) + 10);
my $local_detected = time()
my $detected = DateTime->from_epoch(epoch => $local_detected);
my $type = "";
switch (int(rand(9) + 0.5)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment