mirror of
https://github.com/sqlmapproject/sqlmap
synced 2026-01-28 19:11:30 +01:00
Minor patch
This commit is contained in:
parent
dd39913cf6
commit
81409ce6da
1 changed files with 2 additions and 2 deletions
|
|
@ -759,14 +759,14 @@ class Connect(object):
|
||||||
if '=' in part:
|
if '=' in part:
|
||||||
name, value = part.split('=', 1)
|
name, value = part.split('=', 1)
|
||||||
value = urldecode(value, convall=True, plusspace=(item==post and kb.postSpaceToPlus))
|
value = urldecode(value, convall=True, plusspace=(item==post and kb.postSpaceToPlus))
|
||||||
evaluateCode("%s=%s" % (name, repr(value)), variables)
|
evaluateCode("%s=%s" % (name.strip(), repr(value)), variables)
|
||||||
|
|
||||||
if cookie:
|
if cookie:
|
||||||
for part in cookie.split(conf.cDel or DEFAULT_COOKIE_DELIMITER):
|
for part in cookie.split(conf.cDel or DEFAULT_COOKIE_DELIMITER):
|
||||||
if '=' in part:
|
if '=' in part:
|
||||||
name, value = part.split('=', 1)
|
name, value = part.split('=', 1)
|
||||||
value = urldecode(value, convall=True)
|
value = urldecode(value, convall=True)
|
||||||
evaluateCode("%s=%s" % (name, repr(value)), variables)
|
evaluateCode("%s=%s" % (name.strip(), repr(value)), variables)
|
||||||
|
|
||||||
originals.update(variables)
|
originals.update(variables)
|
||||||
evaluateCode(conf.evalCode, variables)
|
evaluateCode(conf.evalCode, variables)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue