AttackerHelper.py – Helper Functions for Attack Execution¶
Collection of helper functions to implement attacks.
selectVictim¶
chooseRandomServer¶
createMsg¶
-
attacks.AttackerHelper.createMsg(serviceIdUsed, methodIdUsed, clientID, methodType)[source]¶ Create a message as part of class Message.
Parameters: - serviceIdUsed – The service id that appears in the SOME/IP Packet.
- methodIdUsed – The method id that appears in the SOME/IP Packet.
- clientID – The client id that appears in the SOME/IP Packet as initiating participant.
- methodType – The method type that appears in the SOME/IP Packet.
Returns: A dictionary of strings that can be used for the Message class.