C# Class Fuzzer.XmlFactory.XmlFuzzFactory

Creates all components of the fuzzer by using a supplied xml description file See SampleConfigs/SampleFuzzDescription.xml for a fully documented sample description file
The file is parsed at object creation, which means that the syntactical correctness is checked. But it is not checked that all required sections are available
Exibir arquivo Open project: areiter/InMemoryFuzzing Class Usage Examples

Public Methods

Method Description
CreateFuzzController ( ) : FuzzController[]
Init ( ) : void

Initializes the fuzzing environment

XmlFuzzFactory ( string path ) : System

Private Methods

Method Description
Handle_remoteControlProtocolExecStatus ( string name, int pid, int status ) : void

Called after an exec call has been sent to the remote target

InitFuzzDescription ( ) : void

Reads all fuzzDescriptions TODO: currently only the first fuzz description is read

InitLoggers ( ) : void

Initializes all defined loggers

InitPreCondition ( ) : void

Reads and initializes the pre-fuzz-conditions. they get executed once the configuration file is read and the connection has been established

InitPreDefinedFuzzers ( ) : void

Initializes all predefined fuzzers

InitRemote ( ) : void

Initializes the remote control and extracts the commands to execute from the configuration file

InitTargetConnection ( ) : void

Initializes the connection to the target

ReadFuzzDescription ( XmlElement rootNode ) : FuzzDescriptionInfo

Reads a single FuzzDescription Tag and generates a FuzzDescriptionInfo object

ReadFuzzLocation ( XmlElement fuzzLocationNode, bool readChangeableContent ) : IFuzzLocation
RemoteExec ( ExecutionTriggerEnum toExec ) : void

Execute all programs that are registered for the specified trigger

Method Details

CreateFuzzController() public method

public CreateFuzzController ( ) : FuzzController[]
return FuzzController[]

Init() public method

Initializes the fuzzing environment
public Init ( ) : void
return void

XmlFuzzFactory() public method

public XmlFuzzFactory ( string path ) : System
path string
return System