mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
Fix for a 'no parameter found' problem when user says N on 'custom injection mark found in POST...'
This commit is contained in:
parent
59b02539ca
commit
15b0ab1b44
|
@ -171,6 +171,14 @@ def _setRequestParams():
|
||||||
conf.url = conf.url.split('?')[0]
|
conf.url = conf.url.split('?')[0]
|
||||||
conf.paramDict[PLACE.GET] = paramDict
|
conf.paramDict[PLACE.GET] = paramDict
|
||||||
testableParameters = True
|
testableParameters = True
|
||||||
|
elif place == PLACE.CUSTOM_POST:
|
||||||
|
conf.parameters[PLACE.POST] = conf.data
|
||||||
|
paramDict = paramToDict(PLACE.POST, conf.data)
|
||||||
|
|
||||||
|
if paramDict:
|
||||||
|
conf.paramDict[PLACE.POST] = paramDict
|
||||||
|
testableParameters = True
|
||||||
|
|
||||||
else:
|
else:
|
||||||
conf.parameters[place] = value
|
conf.parameters[place] = value
|
||||||
conf.paramDict[place] = OrderedDict()
|
conf.paramDict[place] = OrderedDict()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user