def __init__(self): RegistryBasedPlugin.__init__(self) self.registryKeyAndValue = { 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Hewlett-Packard\\OVEnterprise': 'Version' } self.stopper_processes = ['ovbbccb', 'ovbbccb.exe']
def process(self, context): processes = context.application.getProcesses() process_names = [ process.getName().lower().strip() for process in processes if process ] if not filter( None, map(lambda x: x in self.stopper_processes, process_names)): raise IgnoreApplicationException() RegistryBasedPlugin.process(self, context)
def __init__(self): RegistryBasedPlugin.__init__(self) self.allowedProcesses = [ 'AnalisysUI.exe', 'vugen.exe', 'wlrun.exe', 'magentproc.exe' ]
def __init__(self): RegistryBasedPlugin.__init__(self) self.allowedProcesses = ['AnalisysUI.exe', 'vugen.exe', 'wlrun.exe', 'magentproc.exe']
def process(self, context): processes = context.application.getProcesses() process_names = [process.getName().lower().strip() for process in processes if process] if not filter(None, map(lambda x: x in self.stopper_processes, process_names)): raise IgnoreApplicationException() RegistryBasedPlugin.process(self, context)
def __init__(self): RegistryBasedPlugin.__init__(self) self.registryKeyAndValue = { 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Hewlett-Packard\\OVEnterprise': 'Version'} self.stopper_processes = ['ovbbccb', 'ovbbccb.exe']