What is Peach
Installing
Tutorials
Methodology
Introduction
Training
Enterprise
FAQ
Support Forums
Peach 3
Peach Pits
 General Conf
 Data Modeling
 State Modeling
 Agents
  Monitors
 Test
  Publishers
  Loggers
Running
Minset
Peach 2.3

License

Blob

The Blob element is a child element of DataModel or Block. Blobs are typically used to represent data that we lack type definition or format for.

<Blob name="Unknown1" valueType="hex" value="01 06 22 03"/>

Attributes:

All attributes are optional unless noted.

  • name — Name of the blob. [Required]

  • value — The default value contained within the blob.

  • length — The size, in bytes, of the blob.

  • ref — Reference to a data model to use as a template for the blob

  • valueType — The format in which the default value is expressed: hex, string, or literal, defaults to string.

  • minOccurs — The minimum number of times this blob must occur. Defaults to 1.

  • maxOccurs — The maximum number of times this blob can occur Defaults to 1.

  • token — This element should be treated as a token when parsing, defaults to False

  • lengthType — Type of length, how length is specified

  • constraint — A constraint in the form of an expression. Used during data cracking.

  • mutable — Is the blob changeable (should it be fuzzed), defaults to true.

Valid Child-Elements:

Examples:

A simple blob. Data of any type or length will crack into this blob.


<Blob name="Unknown1" />

A blob with a default value.


<Blob name="Unknown1" valueType="hex" value="AA BB CC DD" />