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

Skip to content

Commit 419cf97

Browse files
committed
Showing again the 'shutting down at ...' message
1 parent 30be875 commit 419cf97

2 files changed

Lines changed: 3 additions & 2 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.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.6.43"
22+
VERSION = "1.0.6.44"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

sqlmap.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,11 +263,12 @@ def main():
263263

264264
finally:
265265
kb.threadContinue = False
266-
kb.threadException = True
267266

268267
if conf.get("showTime"):
269268
dataToStdout("\n[*] shutting down at %s\n\n" % time.strftime("%X"), forceOutput=True)
270269

270+
kb.threadException = True
271+
271272
if kb.get("tempDir"):
272273
for prefix in (MKSTEMP_PREFIX.IPC, MKSTEMP_PREFIX.TESTING, MKSTEMP_PREFIX.COOKIE_JAR, MKSTEMP_PREFIX.BIG_ARRAY):
273274
for filepath in glob.glob(os.path.join(kb.tempDir, "%s*" % prefix)):

0 commit comments

Comments
 (0)