mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-09 22:21:30 +00:00
few fixes here and there and multi-core processing for dictionary based hash attack
This commit is contained in:
@@ -33,7 +33,7 @@ if INTP_VER < (2, 2):
|
||||
|
||||
import types, warnings
|
||||
|
||||
class OrderedDict(dict):
|
||||
class _OrderedDict(dict):
|
||||
"""
|
||||
A class of dictionary that keeps the insertion order of keys.
|
||||
|
||||
@@ -869,6 +869,11 @@ class OrderedDict(dict):
|
||||
"""
|
||||
self._sequence.sort(*args, **kwargs)
|
||||
|
||||
if INTP_VER >= (2, 7):
|
||||
from collections import OrderedDict
|
||||
else:
|
||||
OrderedDict = _OrderedDict
|
||||
|
||||
class Keys(object):
|
||||
# FIXME: should this object be a subclass of list?
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user