mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
Fixes #2487
This commit is contained in:
parent
ebbc68853d
commit
1c5f01e2a2
|
@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME
|
||||||
from lib.core.enums import OS
|
from lib.core.enums import OS
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||||
VERSION = "1.1.4.43"
|
VERSION = "1.1.4.44"
|
||||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||||
|
|
|
@ -421,8 +421,8 @@ def errorUse(expression, dump=False):
|
||||||
index = None
|
index = None
|
||||||
if threadData.shared.showEta:
|
if threadData.shared.showEta:
|
||||||
threadData.shared.progress.progress(time.time() - valueStart, threadData.shared.counter)
|
threadData.shared.progress.progress(time.time() - valueStart, threadData.shared.counter)
|
||||||
for index in xrange(len(threadData.shared.buffered)):
|
for index in xrange(1 + len(threadData.shared.buffered)):
|
||||||
if threadData.shared.buffered[index][0] >= num:
|
if index < len(threadData.shared.buffered) and threadData.shared.buffered[index][0] >= num:
|
||||||
break
|
break
|
||||||
threadData.shared.buffered.insert(index or 0, (num, output))
|
threadData.shared.buffered.insert(index or 0, (num, output))
|
||||||
while threadData.shared.buffered and threadData.shared.lastFlushed + 1 == threadData.shared.buffered[0][0]:
|
while threadData.shared.buffered and threadData.shared.lastFlushed + 1 == threadData.shared.buffered[0][0]:
|
||||||
|
|
|
@ -356,16 +356,16 @@ def unionUse(expression, unpack=True, dump=False):
|
||||||
items = filtered.values()
|
items = filtered.values()
|
||||||
items = [items]
|
items = [items]
|
||||||
index = None
|
index = None
|
||||||
for index in xrange(len(threadData.shared.buffered)):
|
for index in xrange(1 + len(threadData.shared.buffered)):
|
||||||
if threadData.shared.buffered[index][0] >= num:
|
if index < len(threadData.shared.buffered) and threadData.shared.buffered[index][0] >= num:
|
||||||
break
|
break
|
||||||
threadData.shared.buffered.insert(index or 0, (num, items))
|
threadData.shared.buffered.insert(index or 0, (num, items))
|
||||||
else:
|
else:
|
||||||
index = None
|
index = None
|
||||||
if threadData.shared.showEta:
|
if threadData.shared.showEta:
|
||||||
threadData.shared.progress.progress(time.time() - valueStart, threadData.shared.counter)
|
threadData.shared.progress.progress(time.time() - valueStart, threadData.shared.counter)
|
||||||
for index in xrange(len(threadData.shared.buffered)):
|
for index in xrange(1 + len(threadData.shared.buffered)):
|
||||||
if threadData.shared.buffered[index][0] >= num:
|
if index < len(threadData.shared.buffered) and threadData.shared.buffered[index][0] >= num:
|
||||||
break
|
break
|
||||||
threadData.shared.buffered.insert(index or 0, (num, None))
|
threadData.shared.buffered.insert(index or 0, (num, None))
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ ebb778c2d26eba8b34d7d8658e4105a6 lib/core/optiondict.py
|
||||||
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
|
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
|
||||||
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
|
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
|
||||||
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
|
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
|
||||||
e07f462feeee9f7371da366f9799bd1c lib/core/settings.py
|
67af5c012b781810e14301748cb43e21 lib/core/settings.py
|
||||||
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
|
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
|
||||||
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
|
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
|
||||||
155e2d3fda87b2e3ffa4f7a770513946 lib/core/target.py
|
155e2d3fda87b2e3ffa4f7a770513946 lib/core/target.py
|
||||||
|
@ -93,11 +93,11 @@ e7f3012f4f9e822d39eabd934d050b0e lib/takeover/web.py
|
||||||
ab1601a7f429b47637c4fb8af703d0f1 lib/techniques/dns/test.py
|
ab1601a7f429b47637c4fb8af703d0f1 lib/techniques/dns/test.py
|
||||||
d3da4c7ceaf57c4687a052d58722f6bb lib/techniques/dns/use.py
|
d3da4c7ceaf57c4687a052d58722f6bb lib/techniques/dns/use.py
|
||||||
310efc965c862cfbd7b0da5150a5ad36 lib/techniques/error/__init__.py
|
310efc965c862cfbd7b0da5150a5ad36 lib/techniques/error/__init__.py
|
||||||
0a236e558e0f57a1986246d0db769025 lib/techniques/error/use.py
|
8e918c27b796dada3f87ed2fafeb9d8c lib/techniques/error/use.py
|
||||||
310efc965c862cfbd7b0da5150a5ad36 lib/techniques/__init__.py
|
310efc965c862cfbd7b0da5150a5ad36 lib/techniques/__init__.py
|
||||||
310efc965c862cfbd7b0da5150a5ad36 lib/techniques/union/__init__.py
|
310efc965c862cfbd7b0da5150a5ad36 lib/techniques/union/__init__.py
|
||||||
211e6dc49af6ad6bd3590d16d41e86db lib/techniques/union/test.py
|
211e6dc49af6ad6bd3590d16d41e86db lib/techniques/union/test.py
|
||||||
50d4de61ee0692d68bb87462bff37e15 lib/techniques/union/use.py
|
d17ca7177a29d7d07094fc7dd747d4c5 lib/techniques/union/use.py
|
||||||
67f0ad96ec2207d7e59c788b858afd6d lib/utils/api.py
|
67f0ad96ec2207d7e59c788b858afd6d lib/utils/api.py
|
||||||
7d10ba0851da8ee9cd3c140dcd18798e lib/utils/brute.py
|
7d10ba0851da8ee9cd3c140dcd18798e lib/utils/brute.py
|
||||||
2b6c7f906e5da25bcd8865c1f86a1dfb lib/utils/crawler.py
|
2b6c7f906e5da25bcd8865c1f86a1dfb lib/utils/crawler.py
|
||||||
|
|
Loading…
Reference in New Issue
Block a user