Skip to content

Commit afd82b9

Browse files
committed
Patch for an Issue sqlmapproject#221
1 parent 12fc944 commit afd82b9

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

lib/utils/hash.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -717,8 +717,11 @@ def dictionaryAttack(attack_dict):
717717
logger.warn(warnMsg)
718718

719719
for process in processes:
720-
process.terminate()
721-
process.join()
720+
try:
721+
process.terminate()
722+
process.join()
723+
except OSError:
724+
pass
722725

723726
finally:
724727
if retVal:
@@ -798,8 +801,11 @@ class Value():
798801
logger.warn(warnMsg)
799802

800803
for process in processes:
801-
process.terminate()
802-
process.join()
804+
try:
805+
process.terminate()
806+
process.join()
807+
except OSError:
808+
pass
803809

804810
finally:
805811
if retVal:

0 commit comments

Comments
 (0)