mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-20 18:54:02 +00:00
Update of vuln tests
This commit is contained in:
parent
732267876c
commit
c2b929301e
3 changed files with 17 additions and 12 deletions
|
|
@ -102,6 +102,8 @@ class ReqHandler(BaseHTTPRequestHandler):
|
|||
if hasattr(self, "data"):
|
||||
if self.data.startswith('{') and self.data.endswith('}'):
|
||||
params.update(json.loads(self.data))
|
||||
elif self.data.startswith('<') and self.data.endswith('>'):
|
||||
params.update(dict(re.findall(r'name="([^"]+)" value="([^"]*)"', self.data)))
|
||||
else:
|
||||
params.update(parse_qs(self.data))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue