def getOverviewLogStr(self): return "SMS (%s), tag: %s, destination: %s (%s), source: %s, text: %s, timestamp: %s" % ( TaintLogActionEnum.getActionString(self.action), TaintTagEnum.getTaintString(self.tag), self.destination, TaintTagEnum.getTaintString(self.destinationTag), self.scAddress, self.text, self.timestamp, )
def getHtmlReportColumnList(self, theDetailsFlag=True): columnList = [TaintTagEnum.getTaintString(self.tag)] columnList.append(TaintLogActionEnum.getActionString(self.action)) columnList.append(self.scAddress) columnList.append(self.destination) columnList.append(TaintTagEnum.getTaintString(self.destinationTag)) columnList.append(self.text) if theDetailsFlag: columnList.append(self.timestamp) if theDetailsFlag: columnList.append(self.stackTraceStr) return columnList
def getOverviewLogStr(self): return "SSL (%s), tag: %s, destination: %s:%d" % ( TaintLogActionEnum.getActionString(self.action), TaintTagEnum.getTaintString(self.tag), self.destination, self.port, )
def getOverviewLogStr(self): return "FileSystemAccess (%s), tag: %s, file: %s (%d)" % ( TaintLogActionEnum.getActionString(self.action), TaintTagEnum.getTaintString(self.tag), self.filePath, self.fileDescriptor, )
def getOverviewLogStr(self): return "CipherUsage (%s), id: %d, tag: %s, mode: %d" % ( self.action, self.id, TaintTagEnum.getTaintString(self.tag), self.mode, )
def getHtmlReportColumnList(self, theDetailsFlag=True): columnList = [TaintTagEnum.getTaintString(self.tag)] columnList.append(self.dialString) if theDetailsFlag: columnList.append(self.timestamp) if theDetailsFlag: columnList.append(self.stackTraceStr) return columnList
def getHtmlReportColumnList(self, theDetailsFlag=True): columnList = [TaintTagEnum.getTaintString(self.tag)] columnList.append(TaintLogActionEnum.getActionString(self.action)) columnList.append('%s:%d' % (self.destination, self.port)) if theDetailsFlag: columnList.append('%d' % self.taintLogId) columnList.append(self.data) if theDetailsFlag: columnList.append(self.timestamp) if theDetailsFlag: columnList.append(self.stackTraceStr) return columnList
def getHtmlReportColumnList(self, theDetailsFlag=True): columnList = [TaintTagEnum.getTaintString(self.tag)] if self.mode == CipherModeEnum.ENCRYPT_MODE: columnList.append('encrypt') columnList.append(self.input) else: columnList.append('decrypt') columnList.append(self.output) if theDetailsFlag: columnList.append(self.timestamp) if theDetailsFlag: columnList.append(self.stackTraceStr) return columnList
def getHtmlReportColumnList(self, theDetailsFlag=True): columnList = [TaintTagEnum.getTaintString(self.tag)] columnList.append(TaintLogActionEnum.getActionString(self.action)) columnList.append(self.filePath) if theDetailsFlag: columnList.append("%d" % self.taintLogId) columnList.append(self.data) if theDetailsFlag: columnList.append(self.timestamp) if theDetailsFlag: columnList.append(self.stackTraceStr) return columnList
def getOverviewLogStr(self): return 'FileSystemAccess (%s), tag: %s, file: %s (%d)' % ( TaintLogActionEnum.getActionString( self.action), TaintTagEnum.getTaintString( self.tag), self.filePath, self.fileDescriptor)
def getOverviewLogStr(self): return 'NetworkAccess (%s), tag: %s, destination: %s:%d' % (TaintLogActionEnum.getActionString(self.action), TaintTagEnum.getTaintString(self.tag), self.destination, self.port)
def getOverviewLogStr(self): return 'SMS (%s), tag: %s, destination: %s (%s), source: %s, text: %s, timestamp: %s' % ( TaintLogActionEnum.getActionString(self.action), TaintTagEnum.getTaintString(self.tag), self.destination, TaintTagEnum.getTaintString(self.destinationTag), self.scAddress, self.text, self.timestamp)
def getOverviewLogStr(self): return 'SSL (%s), tag: %s, destination: %s:%d' % ( TaintLogActionEnum.getActionString(self.action), TaintTagEnum.getTaintString(self.tag), self.destination, self.port)
def getOverviewLogStr(self): return 'CipherUsage (%s), id: %d, tag: %s, mode: %d' % ( self.action, self.id, TaintTagEnum.getTaintString( self.tag), self.mode)