mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
fix for a bug reported by nightman (AttributeError: 'list' object has no attribute 'split')
This commit is contained in:
@@ -2195,6 +2195,17 @@ def arrayizeValue(value):
|
||||
|
||||
return value
|
||||
|
||||
def unArrayizeValue(value):
|
||||
"""
|
||||
Makes a value out of iterable if it is a list, tuple or set
|
||||
itself
|
||||
"""
|
||||
|
||||
if isinstance(value, (list, tuple, set)):
|
||||
value = value[0] if len(value) > 0 else None
|
||||
|
||||
return value
|
||||
|
||||
def getSortedInjectionTests():
|
||||
"""
|
||||
Returns prioritized test list by eventually detected DBMS from error
|
||||
|
||||
Reference in New Issue
Block a user