mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
changes in handling --tor (using SOCKS instead of HTTP for handling Tor - more standard way; doesn't require proxy bundle; fixes problems with default proxy ports on Win/Linux)
This commit is contained in:
@@ -401,14 +401,13 @@ class Connect:
|
||||
if kb.originalPage is None:
|
||||
if conf.tor:
|
||||
warnMsg = "please make sure that you have "
|
||||
warnMsg += "some kind of Vidalia/Privoxy/Polipo "
|
||||
warnMsg += "Tor proxy bundle installed for "
|
||||
warnMsg += "Tor installed and running for "
|
||||
warnMsg += "you to be able to successfully use "
|
||||
warnMsg += "--tor switch "
|
||||
if IS_WIN:
|
||||
warnMsg += "(e.g. https://www.torproject.org/projects/vidalia.html.en)"
|
||||
warnMsg += "(e.g. https://www.torproject.org/download/download.html.en)"
|
||||
else:
|
||||
warnMsg += "(e.g. http://www.coresec.org/2011/04/24/sqlmap-with-tor/)"
|
||||
warnMsg += "(e.g. https://help.ubuntu.com/community/Tor)"
|
||||
singleTimeLogMessage(warnMsg, logging.WARN, WARNFLAGS.TOR)
|
||||
else:
|
||||
warnMsg = "if the problem persists please try to rerun "
|
||||
|
||||
Reference in New Issue
Block a user