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

Skip to content

Commit e2fb16c

Browse files
committed
Fixes #2425
1 parent d2b16c5 commit e2fb16c

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

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.1.3.2"
22+
VERSION = "1.1.3.3"
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)

plugins/generic/entries.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,14 @@ def dumpTable(self, foundData=None):
192192
query = agent.whereQuery(query)
193193

194194
if not entries and query:
195-
entries = inject.getValue(query, blind=False, time=False, dump=True)
195+
try:
196+
entries = inject.getValue(query, blind=False, time=False, dump=True)
197+
except KeyboardInterrupt:
198+
entries = None
199+
kb.dumpKeyboardInterrupt = True
200+
clearConsoleLine()
201+
warnMsg = "Ctrl+C detected in dumping phase"
202+
logger.warn(warnMsg)
196203

197204
if not isNoneValue(entries):
198205
if isinstance(entries, basestring):

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ a8143dab9d3a27490f7d49b6b29ea530 lib/core/data.py
4545
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4646
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4747
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
48-
b06afbda30432e1193289822da317b58 lib/core/settings.py
48+
4e5e1afc5d5ec92b15f7b4ab1a408dd6 lib/core/settings.py
4949
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5050
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5151
afd0636d2e93c23f4f0a5c9b6023ea17 lib/core/target.py
@@ -203,7 +203,7 @@ a7f4d3a194f52fbb4fb4488be41273b1 plugins/dbms/sybase/enumeration.py
203203
1f46f2eac95cfdc3fa150ec5b0500eba plugins/generic/connector.py
204204
a8f9d0516509e9e4226516ab4f13036a plugins/generic/custom.py
205205
3b54fd65feb9f70c551d315e82653384 plugins/generic/databases.py
206-
45c32855126546a0d9936ecdc943ab3f plugins/generic/entries.py
206+
f7387352380136ac05c0bc3decb85638 plugins/generic/entries.py
207207
55802d1d5d65938414c77ccc27731cab plugins/generic/enumeration.py
208208
bc32b21a3ab5421b5307ff7317256229 plugins/generic/filesystem.py
209209
feca57a968c528a2fe3ccafbc83a17f8 plugins/generic/fingerprint.py

0 commit comments

Comments
 (0)