mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
Cleaning a mess where multi-threaded HTTP requests (in log) had sometimes same UIDs
This commit is contained in:
@@ -179,7 +179,9 @@ class Connect(object):
|
||||
cpuThrottle(conf.cpuThrottle)
|
||||
|
||||
threadData = getCurrentThreadData()
|
||||
threadData.lastRequestUID += 1
|
||||
with kb.locks.request:
|
||||
kb.requestCounter += 1
|
||||
threadData.lastRequestUID = kb.requestCounter
|
||||
|
||||
url = kwargs.get('url', conf.url)
|
||||
get = kwargs.get('get', None)
|
||||
|
||||
Reference in New Issue
Block a user