From edf621b9a0316e2938781ff754565c1d590ed55d Mon Sep 17 00:00:00 2001 From: hahwul Date: Fri, 16 Sep 2022 14:56:06 +0900 Subject: [PATCH] Fixed bug --- lib/func.go | 1 + lib/interface_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/func.go b/lib/func.go index 4091f6d3..fc48306e 100644 --- a/lib/func.go +++ b/lib/func.go @@ -192,6 +192,7 @@ func NewScan(target Target) (Result, error) { result := Result{ Logs: modelResult.Logs, PoCs: modelResult.PoCs, + Params: modelResult.Params, Duration: modelResult.Duration, StartTime: modelResult.StartTime, EndTime: modelResult.EndTime, diff --git a/lib/interface_test.go b/lib/interface_test.go index bcce669b..14ffdbea 100644 --- a/lib/interface_test.go +++ b/lib/interface_test.go @@ -11,6 +11,7 @@ func TestResult_IsFound(t *testing.T) { type fields struct { Logs []string PoCs []model.PoC + Params []model.ParamResult Duration time.Duration StartTime time.Time EndTime time.Time