Some targets are missing from the results after running the Run()
command sometimes.
#14
Labels
bug
Something isn't working
Milestone
Describe the bug:
Some targets are missing from the results after running the
Run()
command sometimes.To Reproduce:
Steps to reproduce the behavior:
main.go
to print the length ofs.Results
ands.Targets
./16
or/24
, and use high concurrency (256).s.Results
sometimes does not match the length ofs.Targets
. If we print the map, we can observe that some IP addresses are not present.Expected behavior:
The length of
s.Results
should be the same as the length ofs.Targets
.Screenshots:

The IP address
127.0.0.3
is not present ins.Results
.Additional context
This issue arises due to unsynchronized data stores among goroutines.
The text was updated successfully, but these errors were encountered: