Exemplo n.º 1
0
 def __init__(self, dataLocation="../../contrib/ThayerData/"):
     self.client = GoodFETMCPCAN()
     """ Communication with the bus"""
     self.client.serInit()
     self.client.MCPsetup()
     #self.DATA_LOCATION = "../../contrib/ThayerData/"
     self.DATA_LOCATION = dataLocation
     """ Stores file data location. This is the root folder where basic sniffs will be stored"""
     self.INJECT_DATA_LOCATION = self.DATA_LOCATION + "InjectedData/"
     """ stores the sub folder path where injected data will be stored"""
Exemplo n.º 2
0
 def __init__(self):
     self.client = GoodFETMCPCAN()
     self.client.serInit()
     self.client.MCPsetup()