Skip to content

Commit

Permalink
Better rate limit (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazet authored Nov 22, 2024
1 parent cdbfeda commit d16195b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion karton_sqlmap/karton_sqlmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ def _run() -> SQLmapCallResult:
[
"sqlmap",
"--delay",
str(1.0 / Config.Limits.REQUESTS_PER_SECOND) if Config.Limits.REQUESTS_PER_SECOND else "0",
str(1.0 / self.requests_per_second_for_current_tasks)
if self.requests_per_second_for_current_tasks
else "0",
"-u",
url,
"--batch",
Expand Down

0 comments on commit d16195b

Please sign in to comment.