mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
minor update regarding good samaritan
This commit is contained in:
@@ -1262,11 +1262,11 @@ def getGoodSamaritanParameters(part, prevValue, originalCharset):
|
||||
predictedCharset.append(ordChar)
|
||||
|
||||
predictedCharset.sort()
|
||||
|
||||
if len(predictedCharset) > 1:
|
||||
singleValue = None
|
||||
|
||||
return singleValue, predictedCharset, otherCharset
|
||||
if len(predictedCharset) > 1:
|
||||
return None, predictedCharset, otherCharset
|
||||
else:
|
||||
return singleValue, None, originalCharset
|
||||
else:
|
||||
return None, None, originalCharset
|
||||
|
||||
|
||||
Reference in New Issue
Block a user