MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / _setTorProxySettings

Function _setTorProxySettings

lib/core/option.py:2478–2485  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2476 conf.proxyList.append("%s://%s:%s" % (type_ or "http", address, port))
2477
2478def _setTorProxySettings():
2479 if not conf.tor:
2480 return
2481
2482 if conf.torType == PROXY_TYPE.HTTP:
2483 _setTorHttpProxySettings()
2484 else:
2485 _setTorSocksProxySettings()
2486
2487def _setTorHttpProxySettings():
2488 infoMsg = "setting Tor HTTP proxy settings"

Callers 1

initFunction · 0.85

Calls 2

_setTorHttpProxySettingsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…