def __init__(self, execparams, parent): mandatoryparams = ['filepath', 'pattern'] Action.__init__(self, execparams=execparams, manparams=mandatoryparams, parent=parent) ProcessableAction.__init__(self, ['matchval'])
def __init__(self, execparams, parent): psplog.debug('New reg query action: exparms: {0} parent: {1}'.format(execparams, parent)) Action.__init__(self, execparams=execparams, parent=parent) hivemap = {'hklm': 'L', 'hkey_local_machine': 'L', 'hku': 'U', 'hkey_users': 'U', 'hkcu': 'C', 'hkey_current_user': '******', 'hkcc': 'G', 'hkey_current_config': 'G', 'hkcr': 'R', 'hkey_classes_root': 'R'} try: self.hive = hivemap[self.execparams['regkey'].split('\\', 1)[0].lower()] except: self.hive = None
def __init__(self, execparams, parent): Action.__init__(self, execparams=execparams, parent=parent)
def __init__(self, params, **kwargs): Action.__init__(self, execparams=params, **kwargs)
def __init__(self, params, parent): self.mandatoryparams = None Action.__init__(self, execparams=params, parent=parent)
def __init__(self, params, parent): self.mandatoryparams = ['text'] Action.__init__(self, params, parent)
def __init__(self, params, parent): self.additionaldata = None Action.__init__(self, execparams=params, parent=parent)