Skip to content

Commit 1d0d5f1

Browse files
committed
Fixes #3389
1 parent f1a3c81 commit 1d0d5f1

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

lib/core/common.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,11 @@ def readInput(message, default=None, checkBatch=True, boolean=False):
997997
retVal = None
998998
kb.stickyLevel = None
999999

1000+
if kb.lastInputMessage == message:
1001+
checkBatch = False
1002+
else:
1003+
kb.lastInputMessage = message
1004+
10001005
message = getUnicode(message)
10011006

10021007
if "\n" in message:

lib/core/option.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1795,6 +1795,7 @@ def _setKnowledgeBaseAttributes(flushAll=True):
17951795
kb.injection = InjectionDict()
17961796
kb.injections = []
17971797
kb.laggingChecked = False
1798+
kb.lastInputMessage = None
17981799
kb.lastParserStatus = None
17991800

18001801
kb.locks = AttribDict()

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.11.17"
22+
VERSION = "1.2.11.18"
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
@@ -29,7 +29,7 @@ dd42ef140ffc0bd517128e6df369ab01 lib/controller/controller.py
2929
1e5532ede194ac9c083891c2f02bca93 lib/controller/__init__.py
3030
cb865cf6eff60118bc97a0f106af5e4d lib/core/agent.py
3131
c347f085bd561adfa26d3a9512e5f3b9 lib/core/bigarray.py
32-
eb4e54c194d50d9dc8caa1a3ea69cba6 lib/core/common.py
32+
9ed51d3e770b5cec2f8c91e962011d52 lib/core/common.py
3333
0d082da16c388b3445e656e0760fb582 lib/core/convert.py
3434
9f87391b6a3395f7f50830b391264f27 lib/core/data.py
3535
72016ea5c994a711a262fd64572a0fcd lib/core/datatype.py
@@ -42,14 +42,14 @@ cada93357a7321655927fc9625b3bfec lib/core/exception.py
4242
1e5532ede194ac9c083891c2f02bca93 lib/core/__init__.py
4343
458a194764805cd8312c14ecd4be4d1e lib/core/log.py
4444
7d6edc552e08c30f4f4d49fa93b746f1 lib/core/optiondict.py
45-
c6a8223fbc1dad784d4ae6377e737a97 lib/core/option.py
45+
a24992df012aee6d5617808f1dbb70ec lib/core/option.py
4646
c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
4747
6783160150b4711d02c56ee2beadffdb lib/core/profiling.py
4848
6f654e1715571eff68a0f8af3d62dcf8 lib/core/readlineng.py
4949
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
5050
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5151
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
52-
3f8cf314028234cb8c60c66a915da2e2 lib/core/settings.py
52+
c0d7976aabdffc78b22a9e63f3a51683 lib/core/settings.py
5353
a971ce157d04de96ba6e710d3d38a9a8 lib/core/shell.py
5454
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5555
52642badbbca4c31a2fcdd754d67a983 lib/core/target.py

0 commit comments

Comments
 (0)