From 276c6897cbbffecdaef2ce5a45995648bcf522df Mon Sep 17 00:00:00 2001 From: Akkuman Date: Fri, 24 Sep 2021 16:28:02 +0800 Subject: [PATCH] :memo: Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ce73ef9..9cb2223 100644 --- a/README.md +++ b/README.md @@ -41,19 +41,20 @@ func main() { v1 := time.Now() evilResults := make(chan beaconeye.EvilResult) go func() { - err := beaconeye.FindEvil(evilResults) + err := beaconeye.FindEvil(evilResults, 4) if err != nil { panic(err) } }() + count := 0 for v := range evilResults { fmt.Printf("%s (%d), Keys Found:True, Configuration Address: 0x%x\n", v.Name, v.Pid, v.Address) fmt.Printf("%s\n", v.Extractor.GetConfigText()) + count++ } v2 := time.Now() - fmt.Printf("The program took %v to run\n", v2.Sub(v1)) + fmt.Printf("The program took %v to find out %d processes\n", v2.Sub(v1), count) } - ``` # TODO