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

Skip to content

Commit ea00c94

Browse files
committed
Minor bug fix
1 parent 938716e commit ea00c94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sqlmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def main():
130130
kb.threadException = True
131131

132132
# Reference: http://stackoverflow.com/questions/1635080/terminate-a-multi-thread-python-program
133-
if conf.threads > 1:
133+
if hasattr(conf, "threads") and conf.threads > 1:
134134
os._exit(0)
135135

136136
if __name__ == "__main__":

0 commit comments

Comments
 (0)