mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Use the selected random User-Agent
This commit is contained in:
parent
c2f14e57e7
commit
f0e23c9441
|
@ -1339,6 +1339,8 @@ def _setHTTPUserAgent():
|
|||
infoMsg += "file '%s': %s" % (paths.USER_AGENTS, userAgent)
|
||||
logger.info(infoMsg)
|
||||
|
||||
conf.httpHeaders.append((HTTP_HEADER.USER_AGENT, userAgent))
|
||||
|
||||
def _setHTTPReferer():
|
||||
"""
|
||||
Set the HTTP Referer
|
||||
|
|
Loading…
Reference in New Issue
Block a user