mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-08 09:24:01 +01:00
Merge pull request #744 from cbrunnkvist/master
Random means no User-Agent
This commit is contained in:
commit
e34be17255
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue