mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 21:24:13 +03:00
minor update for matching SOAP messages
This commit is contained in:
parent
4fa00121e4
commit
9aae447553
|
@ -70,7 +70,7 @@ def __setRequestParams():
|
||||||
conf.data = conf.data.replace("\n", " ")
|
conf.data = conf.data.replace("\n", " ")
|
||||||
|
|
||||||
# Check if POST data is in xml syntax
|
# Check if POST data is in xml syntax
|
||||||
if re.match("[\n]*<(\?xml |soap\:|ns).*>", conf.data):
|
if re.match(r"\A\s*<(\?xml|soap)[^>]*>", conf.data, re.I | re.M):
|
||||||
place = PLACE.SOAP
|
place = PLACE.SOAP
|
||||||
else:
|
else:
|
||||||
place = PLACE.POST
|
place = PLACE.POST
|
||||||
|
|
Loading…
Reference in New Issue
Block a user