File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from lib .core .enums import OS
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.1.2.4 "
22+ VERSION = "1.1.2.5 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change @@ -1040,6 +1040,11 @@ def _randomizeParameter(paramString, randomParameter):
10401040 found = False
10411041 value = getUnicode (value )
10421042
1043+ regex = r"\b(%s)\b([^\w]+)(\w+)" % re .escape (name )
1044+ if kb .postHint and re .search (regex , (post or "" )):
1045+ found = True
1046+ post = re .sub (regex , "\g<1>\g<2>%s" % value , post )
1047+
10431048 regex = r"((\A|%s)%s=).+?(%s|\Z)" % (re .escape (delimiter ), re .escape (name ), re .escape (delimiter ))
10441049 if re .search (regex , (get or "" )):
10451050 found = True
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ e544108e2238d756c94a240e8a1ce061 lib/core/optiondict.py
4545d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4646785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
474740c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
48- bb7501fea707b51516519ea84f42de7d lib/core/settings.py
48+ 08cbff7b1cc2c2ed3eb38ba992510e9c lib/core/settings.py
4949d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
50502ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5151afd0636d2e93c23f4f0a5c9b6023ea17 lib/core/target.py
@@ -67,7 +67,7 @@ a0444cc351cd6d29015ad16d9eb46ff4 lib/parse/sitemap.py
6767403d873f1d2fd0c7f73d83f104e41850 lib/request/basicauthhandler.py
68686d04ee525e75bf0082e9f1f6d8506546 lib/request/basic.py
6969ef48de622b0a6b4a71df64b0d2785ef8 lib/request/comparison.py
70- 1d4955fa22ca6ba17ce4fc2e0d93f1e2 lib/request/connect.py
70+ 49f8ee7010c2d22ed06631fa70a513f5 lib/request/connect.py
7171fb6b788d0016ab4ec5e5f661f0f702ad lib/request/direct.py
7272cc1163d38e9b7ee5db2adac6784c02bb lib/request/dns.py
73735dcdb37823a0b5eff65cd1018bcf09e4 lib/request/httpshandler.py
You can’t perform that action at this time.
0 commit comments