mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-10 00:20:37 +03:00
minor update
This commit is contained in:
parent
ee76fed56a
commit
35c889a411
|
@ -1727,10 +1727,10 @@ def __setTorProxySettings():
|
||||||
raise sqlmapConnectionException, errMsg
|
raise sqlmapConnectionException, errMsg
|
||||||
|
|
||||||
def __checkTor():
|
def __checkTor():
|
||||||
infoMsg = "checking Tor connection"
|
|
||||||
logger.info(infoMsg)
|
|
||||||
|
|
||||||
if conf.checkTor:
|
if conf.checkTor:
|
||||||
|
infoMsg = "checking Tor connection"
|
||||||
|
logger.info(infoMsg)
|
||||||
|
|
||||||
page, _, _ = Request.getPage(url="https://check.torproject.org/", raise404=False)
|
page, _, _ = Request.getPage(url="https://check.torproject.org/", raise404=False)
|
||||||
if not page or 'Congratulations' not in page:
|
if not page or 'Congratulations' not in page:
|
||||||
errMsg = "it seems that Tor is not properly set. "
|
errMsg = "it seems that Tor is not properly set. "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user