mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor fix in Host header value by Oliver Gruskovnjak
This commit is contained in:
parent
45dff4a00a
commit
ef3846e0de
|
@ -571,6 +571,10 @@ def __setHTTPMethod():
|
|||
|
||||
|
||||
def __setHTTPExtraHeaders():
|
||||
parseTargetUrl()
|
||||
|
||||
conf.httpHeaders.append(("Host", conf.hostname))
|
||||
|
||||
if conf.headers:
|
||||
debugMsg = "setting extra HTTP headers"
|
||||
logger.debug(debugMsg)
|
||||
|
|
Loading…
Reference in New Issue
Block a user