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

Clean command can cause a `Too Many Requests` error thrown by boto3 `DeleteRestApi` #48

Closed ipSlav closed 1 year ago

ipSlav commented 1 year ago

If more than 1 API Gateway is running on the same region the --clean led to a Too Many Requestserror thrown by boto3 DeleteRestApi I've solved it by simply adding a time.sleep(50) right before this line as suggested in this boto3 issue

I've added an Issue instead of a pull request both for simplicity and also in case you'll find a better solution to overcome this :)

knavesec commented 1 year ago

Fixed in commit 0ed33a4, added max retries config option to the fireprox api