projectdiscovery / chaos-client

Go client to communicate with Chaos DB API.
https://chaos.projectdiscovery.io
MIT License
613 stars 88 forks source link

Inconsistent result by the chaos client #189

Open serialfuzzer opened 1 year ago

serialfuzzer commented 1 year ago

chaos-client version: 0.5.1

Current Behavior:

I scanned subdomains of the same scope 2 times using the command: cat scope | chaos -silent > 1.txt cat scope | chaos -silent > 2.txt

However, when I compare number of lines in both the files, you can see the result in the screenshot:

image

Expected Behavior:

The expected behavior is that both the files should have equal number of lines or subdomains.

Steps To Reproduce:

Anything else:

MetzinAround commented 1 year ago

Interesting. I just ran it twice and got the same number in each txt file.

Has this been consistently happening or is this a recent issue?

serialfuzzer commented 1 year ago

In my case, it's a recent issue. I have integrated Chaos within my own tool and I observed inconsistencies so I went to investigate it and discovered this. This happens when the number of subdomains is huge. Doesn't happen in small scope.

najuser commented 1 year ago

"When I run chaos client over a long period of time, I am also getting the same issue"