From 23cec012d151fdcf66a87f853fa7e3d990e7c1ee Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 30 May 2011 15:13:47 +0000 Subject: [PATCH] fix for that unhandled (after program exit) KeyboardInterrupt --- sqlmap.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sqlmap.py b/sqlmap.py index a41c6195e..16f742ae5 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -126,5 +126,8 @@ def main(): kb.threadContinue = False kb.threadException = True + # just in case handling of leftover threads + raise SystemExit + if __name__ == "__main__": main()