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

Function _setProxyList

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

Source from the content-addressed store, hash-verified

2467 raise SqlmapMissingPrivileges(errMsg)
2468
2469def _setProxyList():
2470 if not conf.proxyFile:
2471 return
2472
2473 conf.proxyList = []
2474 for match in re.finditer(r"(?i)((http[^:]*|socks[^:]*)://)?([\w\-.]+):(\d+)", readCachedFileContent(conf.proxyFile)):
2475 _, type_, address, port = match.groups()
2476 conf.proxyList.append("%s://%s:%s" % (type_ or "http", address, port))
2477
2478def _setTorProxySettings():
2479 if not conf.tor:

Callers 1

initFunction · 0.85

Calls 2

readCachedFileContentFunction · 0.90
appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…