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

Token Attribute

A data element is a token that Peach will seek when parsing incoming data. Tokens do not affect how elements are mutated. If a token attribute is specified the element must have a default value specified in the XML.

Examples

To parse and fuzz the header "length" and the value "42". Into the a data model peach can understand that header and value are two different parts tokenized by a ":".

Example Data to Crack
  length:42

The following model will look for a ":" and put the value of "length" into the header string and a 42 into the val string.

If a ":" is not found in the data stream an exception will be raised and the cracking will fail.

 <String name="header" />
 <String name="delimiter" value=":" token="true"/>
 <String name="val" />
Example Data
Host: www.peachfuzzer.com\r\n
Example xml to parse
 <String name="header" />
 <String name="delimiter" value=": " token="true"/>
 <String name="val" />
 <String name="CRLF" value="\r\n" token="true" />