5555from lib .core .data import logger
5656from lib .core .data import paths
5757from lib .core .data import queries
58- from lib .core .datatype import advancedDict
59- from lib .core .datatype import injectionDict
58+ from lib .core .datatype import AttribDict
59+ from lib .core .datatype import InjectionDict
6060from lib .core .defaults import defaults
6161from lib .core .enums import DBMS
6262from lib .core .enums import HTTPHEADER
@@ -963,7 +963,7 @@ def __setPrefixSuffix():
963963 if conf .prefix is not None and conf .suffix is not None :
964964 # Create a custom boundary object for user's supplied prefix
965965 # and suffix
966- boundary = advancedDict ()
966+ boundary = AttribDict ()
967967
968968 boundary .level = 1
969969 boundary .clause = [ 0 ]
@@ -1381,18 +1381,18 @@ def __setKnowledgeBaseAttributes(flushAll=True):
13811381 kb .alwaysRefresh = None
13821382 kb .arch = None
13831383 kb .authHeader = None
1384- kb .bannerFp = advancedDict ()
1384+ kb .bannerFp = AttribDict ()
13851385
1386- kb .brute = advancedDict ({'tables' :[], 'columns' :[]})
1386+ kb .brute = AttribDict ({'tables' :[], 'columns' :[]})
13871387 kb .bruteMode = False
13881388
1389- kb .cache = advancedDict ()
1389+ kb .cache = AttribDict ()
13901390 kb .cache .content = {}
13911391 kb .cache .regex = {}
13921392 kb .cache .stdev = {}
13931393
13941394 kb .commonOutputs = None
1395- kb .data = advancedDict ()
1395+ kb .data = AttribDict ()
13961396 kb .dataOutputFlag = False
13971397
13981398 # Active back-end DBMS fingerprint
@@ -1415,10 +1415,10 @@ def __setKnowledgeBaseAttributes(flushAll=True):
14151415 kb .hintValue = None
14161416 kb .htmlFp = []
14171417 kb .ignoreTimeout = False
1418- kb .injection = injectionDict ()
1418+ kb .injection = InjectionDict ()
14191419 kb .injections = []
14201420
1421- kb .locks = advancedDict ()
1421+ kb .locks = AttribDict ()
14221422 kb .locks .cacheLock = threading .Lock ()
14231423 kb .locks .logLock = threading .Lock ()
14241424 kb .locks .ioLock = threading .Lock ()
@@ -1459,7 +1459,7 @@ def __setKnowledgeBaseAttributes(flushAll=True):
14591459 kb .uChar = "NULL"
14601460 kb .xpCmdshellAvailable = False
14611461
1462- kb .misc = advancedDict ()
1462+ kb .misc = AttribDict ()
14631463 kb .misc .delimiter = randomStr (length = 6 , lowercase = True )
14641464 kb .misc .start = ":%s:" % randomStr (length = 3 , lowercase = True )
14651465 kb .misc .stop = ":%s:" % randomStr (length = 3 , lowercase = True )
@@ -1795,7 +1795,7 @@ def __resolveCrossReferences():
17951795 lib .core .threads .readInput = readInput
17961796 lib .core .common .getPageTemplate = getPageTemplate
17971797
1798- def init (inputOptions = advancedDict (), overrideOptions = False ):
1798+ def init (inputOptions = AttribDict (), overrideOptions = False ):
17991799 """
18001800 Set attributes into both configuration and knowledge base singletons
18011801 based upon command line and configuration file options.
0 commit comments