mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Fix for an Issue #218
This commit is contained in:
parent
c0f57f4e90
commit
65ec715828
|
@ -9,6 +9,7 @@ import os
|
|||
import zipfile
|
||||
|
||||
from lib.core.exception import sqlmapDataException
|
||||
from lib.core.settings import UNICODE_ENCODING
|
||||
|
||||
class Wordlist:
|
||||
"""
|
||||
|
@ -63,6 +64,10 @@ class Wordlist:
|
|||
except StopIteration:
|
||||
self.adjust()
|
||||
retVal = self.iter.next().rstrip()
|
||||
try:
|
||||
retVal = retVal.decode(UNICODE_ENCODING)
|
||||
except UnicodeDecodeError:
|
||||
continue
|
||||
if not self.proc_count or self.counter % self.proc_count == self.proc_id:
|
||||
break
|
||||
return retVal
|
||||
|
|
Loading…
Reference in New Issue
Block a user