mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +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():
|
def __setHTTPExtraHeaders():
|
||||||
|
parseTargetUrl()
|
||||||
|
|
||||||
|
conf.httpHeaders.append(("Host", conf.hostname))
|
||||||
|
|
||||||
if conf.headers:
|
if conf.headers:
|
||||||
debugMsg = "setting extra HTTP headers"
|
debugMsg = "setting extra HTTP headers"
|
||||||
logger.debug(debugMsg)
|
logger.debug(debugMsg)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user