Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Fortinet FSSO Peach Pit
<?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.xsd">
<DataModel name="FSSO">
<Number name="PktLen" size="32" endian="big">
<Relation type="size" of="Main" expressionSet="size+4" />
</Number>
<Block name="Main">
<Number name="PktTag" valueType="hex" value="80" size="8" endian="big" />
<Number name="PktType" valueType="hex" value="06" size="8" endian="big" />
<Number name="SeqLen" size="32" endian="big">
<Relation type="size" of="Seq" expressionSet="size+4" />
</Number>
<Block name="Seq">
<Number name="SeqTag" valueType="hex" value="01" size="8" endian="big" />
<Number name="SeqType" valueType="hex" value="03" size="8" endian="big" />
<Number name="SeqVal" valueType="hex" value="00 00 00 01" size="32" endian="big" />
</Block>
<Number name="Unk1Len" size="32" endian="big">
<Relation type="size" of="Unk1" expressionSet="size+4" />
</Number>
<Block name="Unk1">
<Number name="Unk1Tag" valueType="hex" value="10" size="8" endian="big" />
<Number name="Unk1Type" valueType="hex" value="03" size="8" endian="big" />
<Number name="Unk1Val" valueType="hex" value="00 00 00 20" size="32" endian="big" />
</Block>
<Number name="VerLen" size="32" endian="big">
<Relation type="size" of="Ver" expressionSet="size+4" />
</Number>
<Block name="Ver">
<Number name="VerTag" valueType="hex" value="11" size="8" endian="big" />
<Number name="VerType" valueType="hex" value="01" size="8" endian="big" />
<String name="VerVal" value="v5.0.242-0242" />
<Blob name="VerPadding" length="3" value="00 00 00" valueType="hex" />
</Block>
<Number name="SerLen" size="32" endian="big">
<Relation type="size" of="Ser" expressionSet="size+4" />
</Number>
<Block name="Ser">
<Number name="SerTag" valueType="hex" value="13" size="8" endian="big" />
<Number name="SerType" valueType="hex" value="01" size="8" endian="big" />
<String name="SerVal" value="FGVMEV0000000000" />
<Blob name="SerPadding" length="4" value="00 00 00 00" valueType="hex" />
</Block>
<Number name="AuthLen" size="32" endian="big">
<Relation type="size" of="Auth" expressionSet="size+4" />
</Number>
<Block name="Auth">
<Number name="AuthTag" valueType="hex" value="12" size="8" endian="big" />
<Number name="AuthType" valueType="hex" value="01" size="8" endian="big" />
<Blob name="AuthVal" length="16" value="37 fa 30 27 21 19 16 fe fa 07 92 e2 fa 04 c5 c8" valueType="hex" />
</Block>
</Block>
</DataModel>
<Import import="time" />
<StateModel name="StateFSSO" initialState="Initial">
<State name="Initial">
<Action type="output" onComplete="time.sleep(2)">
<DataModel ref="FSSO"/>
</Action>
</State>
</StateModel>
<Agent name="Local">
<Monitor class="WindowsDebugger">
<Param name="Service" value="Fortinet_FSAE" />
<Param name="WinDbgPath" value="C:\SDK\Debuggers\x64" />
</Monitor>
</Agent>
<Test name="Default">
<Agent ref="Local" />
<StateModel ref="StateFSSO" />
<Publisher class="Tcp">
<Param name="Host" value="172.16.28.135" />
<Param name="Port" value="8000" />
</Publisher>
<Logger class="File">
<Param name="Path" value="Logs" />
</Logger>
</Test>
</Peach>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment