()
| 2467 | raise SqlmapMissingPrivileges(errMsg) |
| 2468 | |
| 2469 | def _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 | |
| 2478 | def _setTorProxySettings(): |
| 2479 | if not conf.tor: |
no test coverage detected
searching dependent graphs…