mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
added CPU throttling for lowering sqlmap's CPU intensivity
This commit is contained in:
parent
d96723a135
commit
5396f13bab
|
@ -878,6 +878,7 @@ def __setConfAttributes():
|
|||
debugMsg = "initializing the configuration"
|
||||
logger.debug(debugMsg)
|
||||
|
||||
conf.cpuThrottleDelay = 0.001
|
||||
conf.cj = None
|
||||
conf.dbmsConnector = None
|
||||
conf.dbmsHandler = None
|
||||
|
|
|
@ -262,6 +262,8 @@ class Connect:
|
|||
|
||||
logger.log(8, responseMsg)
|
||||
|
||||
time.sleep(conf.cpuThrottleDelay)
|
||||
|
||||
return page, responseHeaders
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in New Issue
Block a user