knavesec / CredMaster

Refactored & improved CredKing password spraying tool, uses FireProx APIs to rotate IP addresses, stay anonymous, and beat throttling
926 stars 120 forks source link

[feat] Add batch size per thread to add a delay per batch and per thread #61

Closed hugo-syn closed 11 months ago

hugo-syn commented 1 year ago

Add batch size per thread to add a delay per batch and per thread

knavesec commented 1 year ago

Just so I understand this, it's effectively placing a limit on each thread with a delay in between.

So if there were 200 users, a batch size of 10, batch delay of 60 min, threadcount of 5

5 threads spray 10 users each (50 total) delay 60 min 5 threads spray 10 users each (50 total) delay 60 min etc, until all 200 users have been hit

Is that correct?

hugo-syn commented 1 year ago

Yes that's correct, I've implemented this because when you have a big user list it can be nice to delay authentication requests otherwise it will perform all the requests and can raise an alert even with a jitter delay