Minor improvement so that sqlmap tests also all parameters with no value (ig. par=).

This commit is contained in:
Bernardo Damele
2009-07-09 11:25:35 +00:00
parent 516fdb9356
commit cb3d2bac16
3 changed files with 3 additions and 4 deletions

View File

@@ -87,8 +87,7 @@ def paramToDict(place, parameters=None):
if condition:
value = elem[1]
if value:
testableParameters[parameter] = value
testableParameters[parameter] = value
if conf.testParameter and not testableParameters:
paramStr = ", ".join(test for test in conf.testParameter)