mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +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", " ")
|
||||
|
||||
# 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
|
||||
else:
|
||||
place = PLACE.POST
|
||||
|
|
Loading…
Reference in New Issue
Block a user