mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor style update
This commit is contained in:
parent
6795b51c7e
commit
dfa426fbb5
|
@ -1371,7 +1371,7 @@ def _setHTTPUserAgent():
|
|||
userAgent = random.sample(kb.userAgents or [_defaultHTTPUserAgent()], 1)[0]
|
||||
|
||||
infoMsg = "fetched random HTTP User-Agent header from "
|
||||
infoMsg += "file '%s': %s" % (paths.USER_AGENTS, userAgent)
|
||||
infoMsg += "file '%s': '%s'" % (paths.USER_AGENTS, userAgent)
|
||||
logger.info(infoMsg)
|
||||
|
||||
conf.httpHeaders.append((HTTP_HEADER.USER_AGENT, userAgent))
|
||||
|
|
Loading…
Reference in New Issue
Block a user