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

ziskavani casu detekce pomoci DateTime + pridan strednik

parent d80e21be
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ switch (int(rand(2) + 0.5)) { ...@@ -46,7 +46,7 @@ switch (int(rand(2) + 0.5)) {
case 2 { $service = 'HoneyScan'; } case 2 { $service = 'HoneyScan'; }
} }
my $local_detected = time() my $local_detected = time();
my $detected = DateTime->from_epoch(epoch => $local_detected); my $detected = DateTime->from_epoch(epoch => $local_detected);
my $type = ""; my $type = "";
......
...@@ -46,7 +46,7 @@ use DateTime; ...@@ -46,7 +46,7 @@ use DateTime;
# This should be handled by detection application. # This should be handled by detection application.
my $local_detected = time() my $local_detected = time();
my $service = "ScanDetector"; my $service = "ScanDetector";
my $detected = DateTime->from_epoch(epoch => $local_detected); my $detected = DateTime->from_epoch(epoch => $local_detected);
......
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