Switching default Tor type to SOCKS5 (various bundles are discontinued)

This commit is contained in:
Miroslav Stampar 2016-07-06 13:30:46 +02:00
parent db1fc621b5
commit 6b0951d1ee
5 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ _defaults = {
"risk": 1, "risk": 1,
"dumpFormat": "CSV", "dumpFormat": "CSV",
"tech": "BEUSTQ", "tech": "BEUSTQ",
"torType": "HTTP", "torType": "SOCKS5",
} }
defaults = AttribDict(_defaults) defaults = AttribDict(_defaults)

View File

@ -2296,7 +2296,7 @@ def _setTorHttpProxySettings():
if found: if found:
conf.proxy = "http://%s:%d" % (LOCALHOST, found) conf.proxy = "http://%s:%d" % (LOCALHOST, found)
else: else:
errMsg = "can't establish connection with the Tor proxy. " errMsg = "can't establish connection with the Tor HTTP proxy. "
errMsg += "Please make sure that you have Vidalia, Privoxy or " errMsg += "Please make sure that you have Vidalia, Privoxy or "
errMsg += "Polipo bundle installed for you to be able to " errMsg += "Polipo bundle installed for you to be able to "
errMsg += "successfully use switch '--tor' " errMsg += "successfully use switch '--tor' "

View File

@ -19,7 +19,7 @@ from lib.core.enums import OS
from lib.core.revision import getRevisionNumber from lib.core.revision import getRevisionNumber
# sqlmap version (<major>.<minor>.<month>.<monthly commit>) # sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.0.7.10" VERSION = "1.0.7.11"
REVISION = getRevisionNumber() REVISION = getRevisionNumber()
STABLE = VERSION.count('.') <= 2 STABLE = VERSION.count('.') <= 2
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

View File

@ -173,7 +173,7 @@ def cmdLineParser(argv=None):
help="Set Tor proxy port other than default") help="Set Tor proxy port other than default")
request.add_option("--tor-type", dest="torType", request.add_option("--tor-type", dest="torType",
help="Set Tor proxy type (HTTP (default), SOCKS4 or SOCKS5)") help="Set Tor proxy type (HTTP, SOCKS4 or SOCKS5 (default))")
request.add_option("--check-tor", dest="checkTor", request.add_option("--check-tor", dest="checkTor",
action="store_true", action="store_true",

View File

@ -124,7 +124,7 @@ tor = False
# Set Tor proxy type. # Set Tor proxy type.
# Valid: HTTP, SOCKS4, SOCKS5 # Valid: HTTP, SOCKS4, SOCKS5
torType = HTTP torType = SOCKS5
# Check to see if Tor is used properly. # Check to see if Tor is used properly.
# Valid: True or False # Valid: True or False