Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0f57f4 commit 65ec715Copy full SHA for 65ec715
1 file changed
lib/core/wordlist.py
@@ -9,6 +9,7 @@
9
import zipfile
10
11
from lib.core.exception import sqlmapDataException
12
+from lib.core.settings import UNICODE_ENCODING
13
14
class Wordlist:
15
"""
@@ -63,6 +64,10 @@ def next(self):
63
64
except StopIteration:
65
self.adjust()
66
retVal = self.iter.next().rstrip()
67
+ try:
68
+ retVal = retVal.decode(UNICODE_ENCODING)
69
+ except UnicodeDecodeError:
70
+ continue
71
if not self.proc_count or self.counter % self.proc_count == self.proc_id:
72
break
73
return retVal
0 commit comments