35 lines
1.2 KiB
XML
35 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Peach xmlns="http://peachfuzzer.com/2012/Peach" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://peachfuzzer.com/2012/Peach /peach/peach.xsd">
|
|
<!-- The structure of a data block -->
|
|
<DataModel name="Value">
|
|
<!-- Place for an auto generated config -->
|
|
</DataModel>
|
|
<DataModel name="NewLine">
|
|
<String name="NewLine" value="\n" mutable="false"/>
|
|
</DataModel>
|
|
<!-- Basic state machine logic needed to test a protocol -->
|
|
<!-- Encoding fuzzed parameter to base64 and adding new line at the end -->
|
|
<StateModel name="TheState" initialState="Initial">
|
|
<State name="Initial">
|
|
<Action type="output">
|
|
<DataModel ref="Value">
|
|
<Transformer class="Base64Encode"/>
|
|
</DataModel>
|
|
</Action>
|
|
<Action type="output">
|
|
<DataModel ref="NewLine"/>
|
|
</Action>
|
|
<Action type="close"/>
|
|
</State>
|
|
</StateModel>
|
|
<!-- Write output to fuzzedParams.txt file -->
|
|
<Test name="Default">
|
|
<StateModel ref="TheState"/>
|
|
<Publisher class="File">
|
|
<Param name="FileName" value="fuzzedParams.txt"/>
|
|
<Param name="Append" value="true"/>
|
|
<Param name="Overwrite" value="false"/>
|
|
</Publisher>
|
|
</Test>
|
|
</Peach>
|