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()