Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (41 sloc) 1.64 KB
<?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" author="Brad.Antoniewicz@foundstone.com">
<!--
Sample DataModel to be used with MyCustomPublisher decribed in
http://blog.opensecurityresearch.com
Brad Antoniewicz
Foundstone
brad.antoniewicz@foundstone.com
-->
<!--
This will be encapsulated within UDP and ABC Proto
-->
<DataModel name="CustomProtocol">
<Blob name="CustomProtocolData" value="SomeSuperFancyDataThatCustomProtocolSends"/>
</DataModel>
<StateModel name="CustomProtocolOutput" initialState="SendData">
<State name="SendData">
<!--
We've only defined a unique output action for our publisher so
this is the only Action type that will actually include
ABC Proto.
This is linked to our OnOutput() function within the Publisher
-->
<Action type="output">
<DataModel ref="CustomProtocol"/>
</Action>
</State>
</StateModel>
<Test name="Default">
<StateModel ref="CustomProtocolOutput"/>
<!--
This is where we invoke our custom Abc Proto Publisher!
-->
<Publisher class="MyCustomPublisher">
<Param name="Host" value="10.219.1.207"/>
<Param name="Port" value="12345"/>
<Param name="StrictLength" value="true"/> <!-- true is default -->
</Publisher>
</Test>
</Peach>