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

Function _setConfAttributes

lib/core/option.py:1975–2011  ·  view source on GitHub ↗

This function set some needed attributes into the configuration singleton.

()

Source from the content-addressed store, hash-verified

1973 purge(paths.SQLMAP_HOME_PATH)
1974
1975def _setConfAttributes():
1976 """
1977 This function set some needed attributes into the configuration
1978 singleton.
1979 """
1980
1981 debugMsg = "initializing the configuration"
1982 logger.debug(debugMsg)
1983
1984 conf.authUsername = None
1985 conf.authPassword = None
1986 conf.boundaries = []
1987 conf.cj = None
1988 conf.dbmsConnector = None
1989 conf.dbmsHandler = None
1990 conf.dnsServer = None
1991 conf.dumpPath = None
1992 conf.fileWriteType = None
1993 conf.HARCollectorFactory = None
1994 conf.hashDB = None
1995 conf.hashDBFile = None
1996 conf.httpCollector = None
1997 conf.httpHeaders = []
1998 conf.hostname = None
1999 conf.ipv6 = False
2000 conf.multipleTargets = False
2001 conf.outputPath = None
2002 conf.paramDict = {}
2003 conf.parameters = {}
2004 conf.path = None
2005 conf.port = None
2006 conf.proxyList = None
2007 conf.resultsFP = None
2008 conf.scheme = None
2009 conf.tests = []
2010 conf.tempDirs = []
2011 conf.trafficFP = None
2012
2013def _setKnowledgeBaseAttributes(flushAll=True):
2014 """

Callers 1

initOptionsFunction · 0.85

Calls 1

debugMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…