mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 19:13:12 +00:00
Minor update
This commit is contained in:
parent
ff205f088b
commit
8e7449ccd5
2 changed files with 7 additions and 5 deletions
|
|
@ -51,6 +51,8 @@ def forgeHeaders(items=None):
|
|||
headers = dict(conf.httpHeaders)
|
||||
headers.update(items or {})
|
||||
|
||||
headers = dict(("-".join(_.capitalize() for _ in key.split('-')), value) for (key, value) in headers.items())
|
||||
|
||||
if conf.cj:
|
||||
if HTTPHEADER.COOKIE in headers:
|
||||
for cookie in conf.cj:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue