mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Fixing a bug noticed during the yesterday's AppSecEU presentation (--headers='user-agent:foobar*' was not working properly)
This commit is contained in:
parent
3bbe02a714
commit
88b992ad83
|
@ -338,6 +338,9 @@ class Connect(object):
|
|||
|
||||
if auxHeaders:
|
||||
for key, item in auxHeaders.items():
|
||||
for _ in headers.keys():
|
||||
if _.upper() == key.upper():
|
||||
del headers[_]
|
||||
headers[key] = item
|
||||
|
||||
for key, item in headers.items():
|
||||
|
|
Loading…
Reference in New Issue
Block a user