mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-26 05:31:04 +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) |             kb.cache[args] = socket._getaddrinfo(*args, **kwargs) | ||||||
|             return kb.cache[args] |             return kb.cache[args] | ||||||
| 
 | 
 | ||||||
|     if socket.getaddrinfo != _getaddrinfo: |     if not hasattr(socket, '_getaddrinfo'): | ||||||
|         socket._getaddrinfo = socket.getaddrinfo |         socket._getaddrinfo = socket.getaddrinfo | ||||||
|         socket.getaddrinfo = _getaddrinfo |         socket.getaddrinfo = _getaddrinfo | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -75,10 +75,6 @@ def smokeTest(): | ||||||
|     return retVal |     return retVal | ||||||
| 
 | 
 | ||||||
| def adjustValueType(tagName, value): | def adjustValueType(tagName, value): | ||||||
|     # as it's not part of optDict |  | ||||||
|     if tagName == "technique": |  | ||||||
|         value = int(value) |  | ||||||
| 
 |  | ||||||
|     for family in optDict.keys(): |     for family in optDict.keys(): | ||||||
|         for name, type_ in optDict[family].items(): |         for name, type_ in optDict[family].items(): | ||||||
|             if type(type_) == tuple: |             if type(type_) == tuple: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user