Modifying messages (available with Traf. Gen. Add-On)

Similarly to searching specific message fields, if the Perytons™ Traffic-Generator Add-On is enabled, messages' content can be edited via a Script.

For modifying messages the following functions can be used (depending on the field type that needs to be changed, i.e. HEX LIST or VALUE):

        bool packet.UpdateValue(string name, ulong newValue)

or

        bool packet.UpdateValue(string name, byte[] newValue)

 

All options and operands used for searching messages (see par. ‎2.6) are valid for editing messages' content.