Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 091c8ab

Browse files
committed
Minor update (switching --invalid-logical to LIKE version)
1 parent 86303bd commit 091c8ab

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/controller/checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def checkSqlInjection(place, parameter, value):
433433

434434
if conf.invalidLogical:
435435
_ = int(kb.data.randomInt[:2])
436-
origValue = "%s AND %s=%s" % (value, _, _ + 1)
436+
origValue = "%s AND %s LIKE %s" % (value, _, _ + 1)
437437
elif conf.invalidBignum:
438438
origValue = kb.data.randomInt[:6]
439439
elif conf.invalidString:

lib/core/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def payload(self, place=None, parameter=None, value=None, newValue=None, where=N
142142
match = re.search(r"\A[^ ]+", newValue)
143143
newValue = newValue[len(match.group() if match else ""):]
144144
_ = randomInt(2)
145-
value = "%s%s AND %s=%s" % (origValue, match.group() if match else "", _, _ + 1)
145+
value = "%s%s AND %s LIKE %s" % (origValue, match.group() if match else "", _, _ + 1)
146146
elif conf.invalidBignum:
147147
value = randomInt(6)
148148
elif conf.invalidString:

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.2.6.7"
22+
VERSION = "1.2.6.8"
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)

txt/checksum.md5

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ c88d66597f4aab719bde4542b0a1a6e0 extra/shutils/regressiontest.py
2222
1e5532ede194ac9c083891c2f02bca93 extra/sqlharvest/__init__.py
2323
b3e60ea4e18a65c48515d04aab28ff68 extra/sqlharvest/sqlharvest.py
2424
0f581182871148b0456a691ae85b04c0 lib/controller/action.py
25-
9682b922fd621d31708d562b15803202 lib/controller/checks.py
25+
2bfb57f063421c3789a81cd4ca89d8dc lib/controller/checks.py
2626
c414cecdb0472c92cf50ed5b01e4438c lib/controller/controller.py
2727
c7443613a0a2505b1faec931cee2a6ef lib/controller/handler.py
2828
1e5532ede194ac9c083891c2f02bca93 lib/controller/__init__.py
29-
b1990c7805943f0c973a853bba981d96 lib/core/agent.py
29+
ee096e173a5caa7724e751c693880925 lib/core/agent.py
3030
fd8f239e259afaf5f24bcf34a0ad187f lib/core/bigarray.py
3131
240cb11db16783c6601b1d7de5eadd8d lib/core/common.py
3232
0d082da16c388b3445e656e0760fb582 lib/core/convert.py
@@ -47,7 +47,7 @@ c9a56e58984420a5abb7a3f7aadc196d lib/core/optiondict.py
4747
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4848
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
4949
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
50-
83c0f3f92dc98c530494d0bf32617d0e lib/core/settings.py
50+
9cfb2ab4e4be638f47abb7e8b0bb47e9 lib/core/settings.py
5151
0dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py
5252
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5353
6306284edcccc185b2df085438572b0d lib/core/target.py

0 commit comments

Comments
 (0)