mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
minor update regarding good samaritan
This commit is contained in:
parent
065d5b02ec
commit
8ed76b3024
2 changed files with 12 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue