Skip to content

Commit 276c689

Browse files
committed
📝 Update README.md
1 parent a6329e9 commit 276c689

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,20 @@ func main() {
4141
v1 := time.Now()
4242
evilResults := make(chan beaconeye.EvilResult)
4343
go func() {
44-
err := beaconeye.FindEvil(evilResults)
44+
err := beaconeye.FindEvil(evilResults, 4)
4545
if err != nil {
4646
panic(err)
4747
}
4848
}()
49+
count := 0
4950
for v := range evilResults {
5051
fmt.Printf("%s (%d), Keys Found:True, Configuration Address: 0x%x\n", v.Name, v.Pid, v.Address)
5152
fmt.Printf("%s\n", v.Extractor.GetConfigText())
53+
count++
5254
}
5355
v2 := time.Now()
54-
fmt.Printf("The program took %v to run\n", v2.Sub(v1))
56+
fmt.Printf("The program took %v to find out %d processes\n", v2.Sub(v1), count)
5557
}
56-
5758
```
5859

5960
# TODO

0 commit comments

Comments
 (0)