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

Skip to content

Commit 2476c15

Browse files
committed
minor fix
1 parent 613242e commit 2476c15

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

sqlmap.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
from lib.core.common import setPaths
3131
from lib.core.common import weAreFrozen
3232
from lib.core.data import conf
33+
from lib.core.data import kb
3334
from lib.core.data import logger
3435
from lib.core.data import paths
3536
from lib.core.exception import exceptionsTuple
@@ -113,6 +114,10 @@ def main():
113114
else:
114115
closeDumper(True)
115116

117+
finally:
118+
kb.threadContinue = False
119+
kb.threadException = True
120+
116121
dataToStdout("\n[*] shutting down at: %s\n\n" % time.strftime("%X"), forceOutput=True)
117122

118123
if __name__ == "__main__":

0 commit comments

Comments
 (0)