mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Minor patch
This commit is contained in:
parent
dd39913cf6
commit
81409ce6da
|
@ -759,14 +759,14 @@ class Connect(object):
|
|||
if '=' in part:
|
||||
name, value = part.split('=', 1)
|
||||
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:
|
||||
for part in cookie.split(conf.cDel or DEFAULT_COOKIE_DELIMITER):
|
||||
if '=' in part:
|
||||
name, value = part.split('=', 1)
|
||||
value = urldecode(value, convall=True)
|
||||
evaluateCode("%s=%s" % (name, repr(value)), variables)
|
||||
evaluateCode("%s=%s" % (name.strip(), repr(value)), variables)
|
||||
|
||||
originals.update(variables)
|
||||
evaluateCode(conf.evalCode, variables)
|
||||
|
|
Loading…
Reference in New Issue
Block a user