mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Fallback for --randomize in case of empty value
This commit is contained in:
@@ -3947,6 +3947,9 @@ def randomizeParameterValue(value):
|
||||
parts[-1] = random.sample(RANDOMIZATION_TLDS, 1)[0]
|
||||
retVal = '.'.join(parts)
|
||||
|
||||
if not retVal:
|
||||
retVal = randomStr(lowercase=True)
|
||||
|
||||
return retVal
|
||||
|
||||
@cachedmethod
|
||||
|
||||
Reference in New Issue
Block a user