mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Minor fix in Host header value by Oliver Gruskovnjak
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user