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

Skip to content

Commit 23cec01

Browse files
committed
fix for that unhandled (after program exit) KeyboardInterrupt
1 parent b79dae6 commit 23cec01

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sqlmap.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,8 @@ def main():
126126
kb.threadContinue = False
127127
kb.threadException = True
128128

129+
# just in case handling of leftover threads
130+
raise SystemExit
131+
129132
if __name__ == "__main__":
130133
main()

0 commit comments

Comments
 (0)