mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Use the selected random User-Agent
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user