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