mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
few fixes
This commit is contained in:
parent
d324704844
commit
940c225d7c
|
@ -778,7 +778,7 @@ def __setDNSCache():
|
|||
kb.cache[args] = socket._getaddrinfo(*args, **kwargs)
|
||||
return kb.cache[args]
|
||||
|
||||
if socket.getaddrinfo != _getaddrinfo:
|
||||
if not hasattr(socket, '_getaddrinfo'):
|
||||
socket._getaddrinfo = socket.getaddrinfo
|
||||
socket.getaddrinfo = _getaddrinfo
|
||||
|
||||
|
|
|
@ -75,10 +75,6 @@ def smokeTest():
|
|||
return retVal
|
||||
|
||||
def adjustValueType(tagName, value):
|
||||
# as it's not part of optDict
|
||||
if tagName == "technique":
|
||||
value = int(value)
|
||||
|
||||
for family in optDict.keys():
|
||||
for name, type_ in optDict[family].items():
|
||||
if type(type_) == tuple:
|
||||
|
|
Loading…
Reference in New Issue
Block a user