mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor fixes for --http2 (#4402)
This commit is contained in:
parent
327f98aaa3
commit
d058cc820d
4 changed files with 13 additions and 7 deletions
|
|
@ -1175,7 +1175,7 @@ def _setHTTPHandlers():
|
|||
proxyString = ""
|
||||
|
||||
proxyString += "%s:%d" % (hostname, port)
|
||||
proxyHandler.proxies = {"http": proxyString, "https": proxyString}
|
||||
proxyHandler.proxies = kb.proxies = {"http": proxyString, "https": proxyString}
|
||||
|
||||
proxyHandler.__init__(proxyHandler.proxies)
|
||||
|
||||
|
|
@ -2151,6 +2151,7 @@ def _setKnowledgeBaseAttributes(flushAll=True):
|
|||
kb.previousMethod = None
|
||||
kb.processNonCustom = None
|
||||
kb.processUserMarks = None
|
||||
kb.proxies = None
|
||||
kb.proxyAuthHeader = None
|
||||
kb.queryCounter = 0
|
||||
kb.randomPool = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue