This function set some needed attributes into the configuration singleton.
()
| 1973 | purge(paths.SQLMAP_HOME_PATH) |
| 1974 | |
| 1975 | def _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 | |
| 2013 | def _setKnowledgeBaseAttributes(flushAll=True): |
| 2014 | """ |
no test coverage detected
searching dependent graphs…