예제 #1
0
    def __init__(self, text):
        AbstractValue.__init__(self, "TextValue")
        # create logger with the given configuration
        self.log = logging.getLogger('netzob.Common.MMSTD.Dictionary.Values.TextValue.py')

        self.strtext = text
        self.bintext = TypeConvertor.string2bin(self.strtext, 'big')
예제 #2
0
    def __init__(self):
        AbstractValue.__init__(self, "Aggregate")
        # create logger with the given configuration
        self.log = logging.getLogger(
            'netzob.Common.MMSTD.Dictionary.Values.Aggregate.py')

        self.values = []
예제 #3
0
파일: VarValue.py 프로젝트: KurSh/netzob
 def __init__(self, variable, resetCondition):
     AbstractValue.__init__(self, "VarValue")
     # create logger with the given configuration
     self.log = logging.getLogger('netzob.Common.MMSTD.Dictionary.Values.VarValue.py')
     self.log.debug("VarValue : " + str(variable))
     self.variable = variable
     self.resetCondition = resetCondition
예제 #4
0
 def __init__(self, variable, resetCondition):
     AbstractValue.__init__(self, "VarValue")
     # create logger with the given configuration
     self.log = logging.getLogger(
         'netzob.Common.MMSTD.Dictionary.Values.VarValue.py')
     self.log.debug("VarValue : " + str(variable))
     self.variable = variable
     self.resetCondition = resetCondition
예제 #5
0
    def __init__(self, text):
        AbstractValue.__init__(self, "TextValue")
        # create logger with the given configuration
        self.log = logging.getLogger(
            'netzob.Common.MMSTD.Dictionary.Values.TextValue.py')

        self.strtext = text
        self.bintext = TypeConvertor.string2bin(self.strtext, 'big')
예제 #6
0
 def __init__(self):
     AbstractValue.__init__(self, "EndValue")
     # create logger with the given configuration
     self.log = logging.getLogger('netzob.Common.MMSTD.Dictionary.Values.EndValue.py')