mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor update for #2379
This commit is contained in:
parent
5217efc69b
commit
15f86e85b1
3 changed files with 4 additions and 6 deletions
|
|
@ -374,9 +374,7 @@ class Connect(object):
|
|||
|
||||
# Reset header values to original in case of provided request file
|
||||
if target and conf.requestFile:
|
||||
headers = forgeHeaders()
|
||||
if cookie:
|
||||
headers[HTTP_HEADER.COOKIE] = cookie
|
||||
headers = forgeHeaders({HTTP_HEADER.COOKIE: cookie})
|
||||
|
||||
if auxHeaders:
|
||||
for key, value in auxHeaders.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue