Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ac54554

Browse files
committed
Merge branch 'master' of github.com:sqlmapproject/sqlmap
2 parents bedfe1b + 0a4f5d2 commit ac54554

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/option.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,9 @@ def _parseBurpLog(content):
290290
key, value = line.split(": ", 1)
291291

292292
# Cookie and Host headers
293-
if key.lower() == "cookie":
293+
if key.upper() == HTTPHEADER.COOKIE.upper():
294294
cookie = value
295-
elif key.lower() == "host":
295+
elif key.upper() == HTTPHEADER.HOST.upper():
296296
if '://' in value:
297297
scheme, value = value.split('://')[:2]
298298
splitValue = value.split(":")

0 commit comments

Comments
 (0)