mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-11 16:35:47 +03:00
Minor update
This commit is contained in:
parent
987f167e12
commit
998eb70288
|
@ -264,7 +264,7 @@ def processResponse(page, responseHeaders):
|
||||||
logger.info("parsed error message: '%s'" % msg)
|
logger.info("parsed error message: '%s'" % msg)
|
||||||
|
|
||||||
for regex in (EVENTVALIDATION_REGEX, VIEWSTATE_REGEX):
|
for regex in (EVENTVALIDATION_REGEX, VIEWSTATE_REGEX):
|
||||||
match = re.search(regex, page)
|
match = re.search(regex, page, re.I)
|
||||||
if match and PLACE.POST in conf.parameters:
|
if match and PLACE.POST in conf.parameters:
|
||||||
name, value = match.groups()
|
name, value = match.groups()
|
||||||
conf.parameters[PLACE.POST] = re.sub("(?i)(%s=)[^&]+" % name, r"\g<1>%s" % value, conf.parameters[PLACE.POST])
|
conf.parameters[PLACE.POST] = re.sub("(?i)(%s=)[^&]+" % name, r"\g<1>%s" % value, conf.parameters[PLACE.POST])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user