Skip to content

Commit dbf3a46

Browse files
authored
Added beacon/timestamp/command run to output
1 parent b4932e0 commit dbf3a46

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

save_log.cna

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ alias stop_log {
4646

4747
on beacon_output {
4848
if ( %logging[$1] ) {
49-
writeb(%logging[$1], $2);
49+
println(%logging[$1], $2);
5050
}
51-
}
51+
}
52+
53+
on beacon_tasked {
54+
if ( %logging[$1] ) {
55+
println(%logging[$1], "[" . formatDate($3, 'yyyy-MM-dd HH:mm:ss z') . "] BID " . $1 . " " . $2);
56+
}
57+
}

0 commit comments

Comments
 (0)