Package core :: Package data :: Package kb :: Module knowledgeBase :: Class knowledgeBase
[hide private]
[frames] | no frames]

Class knowledgeBase



This class saves the data that is sent to it by plugins. It is the only way in which plugins can talk to each other.


Author: Andres Riancho ( andres.riancho@gmail.com )

Instance Methods [hide private]
  __init__(self)
  destroyLock(self)
  createLock(self)
  save(self, callingInstance, variableName, value)
This method saves the variableName value to a dict.
  append(self, callingInstance, variableName, value)
This method appends the variableName value to a dict.
  getData(self, pluginWhoSavedTheData, variableName)
  getAllVulns(self)
  getAllInfos(self)
  dump(self)

Method Details [hide private]

__init__(self)
(Constructor)

 
None

destroyLock(self)

 
None

createLock(self)

 
None

save(self, callingInstance, variableName, value)

 
This method saves the variableName value to a dict.

append(self, callingInstance, variableName, value)

 
This method appends the variableName value to a dict.

getData(self, pluginWhoSavedTheData, variableName)

 
Returns:
Returns the data that was saved by another plugin.

getAllVulns(self)

 
Returns:
A list of all vulns reported by all plugins.

getAllInfos(self)

 
Returns:
A list of all vulns reported by all plugins.

dump(self)

 
None