mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 11:45:46 +03:00
Fix for stalling in retrieving international letters (--technique=B)
This commit is contained in:
parent
fd9e1cd2c5
commit
4faa5f0f49
|
@ -54,6 +54,9 @@ class xrange(object):
|
|||
def _len(self):
|
||||
return max(0, int((self.stop - self.start) / self.step))
|
||||
|
||||
def __contains__(self, value):
|
||||
return (self.start <= value < self.stop) and (value - self.start) % self.step == 0
|
||||
|
||||
def __getitem__(self, index):
|
||||
if isinstance(index, slice):
|
||||
start, stop, step = index.indices(self._len())
|
||||
|
|
Loading…
Reference in New Issue
Block a user