Example #1
0
 def __init__(self, execparams, parent):
     mandatoryparams = ['filepath', 'pattern']
     Action.__init__(self,
                     execparams=execparams,
                     manparams=mandatoryparams,
                     parent=parent)
     ProcessableAction.__init__(self, ['matchval'])
Example #2
0
 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
Example #3
0
 def __init__(self, execparams, parent):
     Action.__init__(self, execparams=execparams, parent=parent)
Example #4
0
 def __init__(self, params, **kwargs):
     Action.__init__(self, execparams=params, **kwargs)
Example #5
0
 def __init__(self, params, parent):
     self.mandatoryparams = None
     Action.__init__(self, execparams=params, parent=parent)
Example #6
0
 def __init__(self, execparams, parent):
     mandatoryparams = ['filepath', 'pattern']
     Action.__init__(self, execparams=execparams, manparams=mandatoryparams, parent=parent)
     ProcessableAction.__init__(self, ['matchval'])
Example #7
0
 def __init__(self, params, parent):
     self.mandatoryparams = ['text']
     Action.__init__(self, params, parent)
Example #8
0
 def __init__(self, params, parent):
     self.additionaldata = None
     Action.__init__(self, execparams=params, parent=parent)