Skip to content

Commit f256077

Browse files
committed
Minor update
1 parent 0a6b5fb commit f256077

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

data/txt/sha256sums.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ eed1db5da17eca4c65a8f999166e2246eef84397687ae820bbe4984ef65a09df extra/vulnserv
166166
4608f21a4333c162ab3c266c903fda4793cc5834de30d06affe9b7566dd09811 lib/controller/__init__.py
167167
ac44a343947162532dbf17bd1f9ab424f8008f677367c5ad3f9f7b715a679818 lib/core/agent.py
168168
fbba89420acafcdb9ba1a95428cf2161b13cfa2d1a7ad7d5e70c14b0e04861f0 lib/core/bigarray.py
169-
567c53222bc59f2aaba97ce9ba7613848ff0609007cc5dfc57051da34d76e41b lib/core/common.py
169+
f6062e324fdeaacf9df0a289fc3f12f755143e3876a70cb65b38aa2e690f73c1 lib/core/common.py
170170
11c748cc96ea2bc507bc6c1930a17fe4bc6fdd2dd2a80430df971cb21428eb00 lib/core/compat.py
171171
39ea62d4224be860befeffb3843c150f2343b64555ad8c438a400222056f6cc0 lib/core/convert.py
172172
ae500647c4074681749735a4f3b17b7eca44868dd3f39f9cab0a575888ba04a1 lib/core/data.py
@@ -181,14 +181,14 @@ bb7e6521edad1cbfffa89fd7d5e255ed4ff148d984ffadbeac8d42baa2d76dea lib/core/dicts
181181
4608f21a4333c162ab3c266c903fda4793cc5834de30d06affe9b7566dd09811 lib/core/__init__.py
182182
3d308440fb01d04b5d363bfbe0f337756b098532e5bb7a1c91d5213157ec2c35 lib/core/log.py
183183
2a06dc9b5c17a1efdcdb903545729809399f1ee96f7352cc19b9aaa227394ff3 lib/core/optiondict.py
184-
c53862358795097a59aa4eacc4d90815afb7e0540899b8885b586e43267be225 lib/core/option.py
184+
114396f3b11372afc47451b4fbfd79e567ebdcaa926a3cff9ac12cab4db02d8b lib/core/option.py
185185
fd449fe2c707ce06c929fc164cbabb3342f3e4e2b86c06f3efc1fc09ac98a25a lib/core/patch.py
186186
85f10c6195a3a675892d914328173a6fb6a8393120417a2f10071c6e77bfa47d lib/core/profiling.py
187187
c4bfb493a03caf84dd362aec7c248097841de804b7413d0e1ecb8a90c8550bc0 lib/core/readlineng.py
188188
d1bd70c1a55858495c727fbec91e30af267459c8f64d50fabf9e4ee2c007e920 lib/core/replication.py
189189
1d0f80b0193ac5204527bfab4bde1a7aee0f693fd008e86b4b29f606d1ef94f3 lib/core/revision.py
190190
d2eb8e4b05ac93551272b3d4abfaf5b9f2d3ac92499a7704c16ed0b4f200db38 lib/core/session.py
191-
3ca51b79a5f622a0845f344afd11d6abf6ddc78370058c78fcb26fcc17806387 lib/core/settings.py
191+
be3e2b9a16441137d97d366f09dfb14a39d89a258945d70413456fd42e85ca22 lib/core/settings.py
192192
1c5eab9494eb969bc9ce118a2ea6954690c6851cbe54c18373c723b99734bf09 lib/core/shell.py
193193
4eea6dcf023e41e3c64b210cb5c2efc7ca893b727f5e49d9c924f076bb224053 lib/core/subprocessng.py
194194
cdd352e1331c6b535e780f6edea79465cb55af53aa2114dcea0e8bf382e56d1a lib/core/target.py

lib/core/common.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4542,7 +4542,7 @@ def randomizeParameterValue(value):
45424542
if original != candidate:
45434543
break
45444544

4545-
retVal = retVal.replace(original, candidate)
4545+
retVal = retVal.replace(original, candidate, 1)
45464546

45474547
if re.match(r"\A[^@]+@.+\.[a-z]+\Z", value):
45484548
parts = retVal.split('.')
@@ -5159,8 +5159,8 @@ def prioritySortColumns(columns):
51595159
Sorts given column names by length in ascending order while those containing
51605160
string 'id' go first
51615161
5162-
>>> prioritySortColumns(['password', 'userid', 'name'])
5163-
['userid', 'name', 'password']
5162+
>>> prioritySortColumns(['password', 'userid', 'name', 'id'])
5163+
['id', 'userid', 'name', 'password']
51645164
"""
51655165

51665166
def _(column):

lib/core/option.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
from lib.core.data import queries
7070
from lib.core.datatype import AttribDict
7171
from lib.core.datatype import InjectionDict
72+
from lib.core.datatype import LRUDict
7273
from lib.core.datatype import OrderedSet
7374
from lib.core.defaults import defaults
7475
from lib.core.dicts import DBMS_DICT
@@ -2035,7 +2036,7 @@ def _setKnowledgeBaseAttributes(flushAll=True):
20352036

20362037
kb.cache = AttribDict()
20372038
kb.cache.addrinfo = {}
2038-
kb.cache.content = {}
2039+
kb.cache.content = LRUDict(capacity=16)
20392040
kb.cache.comparison = {}
20402041
kb.cache.encoding = {}
20412042
kb.cache.alphaBoundaries = None

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from thirdparty import six
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.9.12.28"
22+
VERSION = "1.9.12.29"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)