mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-10 06:31:33 +00:00
fix for my imperfect calculations :)
This commit is contained in:
@@ -261,8 +261,7 @@ class Connect:
|
|||||||
logger.log(8, responseMsg)
|
logger.log(8, responseMsg)
|
||||||
|
|
||||||
if conf.cpuThrottle:
|
if conf.cpuThrottle:
|
||||||
minThrottleDelay, maxThrottleDelay = 0.0001, 0.1
|
delay = 0.00001 * conf.cpuThrottle
|
||||||
delay = minThrottleDelay + (maxThrottleDelay-minThrottleDelay) * conf.cpuThrottle
|
|
||||||
time.sleep(delay)
|
time.sleep(delay)
|
||||||
|
|
||||||
return page, responseHeaders
|
return page, responseHeaders
|
||||||
|
|||||||
Reference in New Issue
Block a user