Confdump Agent
1.4.0
|
Various static whitelists/blacklists that protect the target system from undesired side-effects from the WMI dumper. More...
#include <WmiLists.hpp>
Public Member Functions | |
WmiLists () | |
bool | isTableAllowed (QString ns, QString table) const |
bool | isNamespaceAllowed (QString ns) const |
Static Private Attributes | |
static QStringList | tableBlackList_ |
static QStringList | nsWhiteList_ |
Various static whitelists/blacklists that protect the target system from undesired side-effects from the WMI dumper.
NB: The global data is not initialized in a thread-safe way.
Definition at line 35 of file WmiLists.hpp.
Definition at line 30 of file WmiLists.cpp.
References nsWhiteList_, and tableBlackList_.
bool Confdump::System::Wmi::WmiLists::isNamespaceAllowed | ( | QString | ns | ) | const |
Definition at line 103 of file WmiLists.cpp.
References nsWhiteList_.
Referenced by Confdump::System::Wmi::WbemServices::setWmiNamespace().
bool Confdump::System::Wmi::WmiLists::isTableAllowed | ( | QString | ns, |
QString | table | ||
) | const |
Definition at line 97 of file WmiLists.cpp.
References tableBlackList_.
Referenced by Confdump::System::Wmi::WbemServices::execQuery().
QStringList Confdump::System::Wmi::WmiLists::nsWhiteList_ [static, private] |
Definition at line 38 of file WmiLists.hpp.
Referenced by isNamespaceAllowed(), and WmiLists().
QStringList Confdump::System::Wmi::WmiLists::tableBlackList_ [static, private] |
Definition at line 37 of file WmiLists.hpp.
Referenced by isTableAllowed(), and WmiLists().