C# Class DOTNETIDS.IDS

The .NET Intrustion Detection System
Show file Open project: IndiansIncredible/.NetIDS Class Usage Examples

Private Properties

Property Type Description
ConcatControls string
Detect List
IDS System
Iterate void
IterateOver void

Public Methods

Method Description
IDS ( NameValueCollection request ) : System

Initialise the IDS to scan a GET request

IDS ( NameValueCollection request, IDS ids ) : System

Initialise the IDS to scan a GET request using the same filters as an already existing IDS object

IDS ( NameValueCollection request, IDS ids, RequestType requestType ) : System

Initialise the IDS to scan a GET, POST or other request using the same filters as an already existing IDS object

IDS ( NameValueCollection request, RequestType requestType ) : System

Initialise the IDS to scan a GET, POST or other request

IDS ( NameValueCollection request, string xmlPath ) : System

Initialise the IDS to scan a GET request

IDS ( NameValueCollection request, string xmlPath, RequestType requestType ) : System

Initialise the IDS to scan a GET, POST or other request

IDS ( System cookies, IDS ids ) : System

Initialise the IDS to scan cookies using the same filters as an already existing IDS object

IDS ( System cookies, string xmlPath ) : System

Initialise the IDS to scan cookies

Run ( ) : Report

Perform intrusion detection

Run ( bool DetectNullBytes ) : Report

Perform intrusion detection

Private Methods

Method Description
ConcatControls ( ) : string

Concacternates the web controls for a raw request

Detect ( string key, string val ) : List

Calls each Filter's Match method against the specified key and value

IDS ( OutputFilter oF ) : System

Initialise the IDS to scan output

Iterate ( string key, string val ) : void

Iterates over a set of keys and values

IterateOver ( string &ret, System parent, ControlRenderInteceptor cri ) : void

Method Details

IDS() public method

Initialise the IDS to scan a GET request
public IDS ( NameValueCollection request ) : System
request System.Collections.Specialized.NameValueCollection The Name-Value collection to detect intrusions within
return System

IDS() public method

Initialise the IDS to scan a GET request using the same filters as an already existing IDS object
public IDS ( NameValueCollection request, IDS ids ) : System
request System.Collections.Specialized.NameValueCollection The Name-Value collection to detect intrusions within
ids IDS The IDS containing the preloaded filters
return System

IDS() public method

Initialise the IDS to scan a GET, POST or other request using the same filters as an already existing IDS object
public IDS ( NameValueCollection request, IDS ids, RequestType requestType ) : System
request System.Collections.Specialized.NameValueCollection The Name-Value collection to detect intrusions within
ids IDS The IDS containing the preloaded filters
requestType RequestType Indicates What type of request this is and therefore whether to exclude certain parameters.
return System

IDS() public method

Initialise the IDS to scan a GET, POST or other request
public IDS ( NameValueCollection request, RequestType requestType ) : System
request System.Collections.Specialized.NameValueCollection The Name-Value collection to detect intrusions within
requestType RequestType Indicates What type of request this is and therefore whether to exclude certain parameters.
return System

IDS() public method

Initialise the IDS to scan a GET request
public IDS ( NameValueCollection request, string xmlPath ) : System
request System.Collections.Specialized.NameValueCollection The Name-Value collection to detect intrusions within
xmlPath string The path to the filters file
return System

IDS() public method

Initialise the IDS to scan a GET, POST or other request
public IDS ( NameValueCollection request, string xmlPath, RequestType requestType ) : System
request System.Collections.Specialized.NameValueCollection The Name-Value collection to detect intrusions within
xmlPath string The path to the filters file
requestType RequestType Indicates What type of request this is and therefore whether to exclude certain parameters.
return System

IDS() public method

Initialise the IDS to scan cookies using the same filters as an already existing IDS object
public IDS ( System cookies, IDS ids ) : System
cookies System The cookie collection to detect intrusions within
ids IDS The IDS containing the preloaded filters
return System

IDS() public method

Initialise the IDS to scan cookies
public IDS ( System cookies, string xmlPath ) : System
cookies System The cookie collection to detect intrusions within
xmlPath string The path to the filters file
return System

Run() public method

Perform intrusion detection
public Run ( ) : Report
return Report

Run() public method

Perform intrusion detection
public Run ( bool DetectNullBytes ) : Report
DetectNullBytes bool Specify whether to use internal null byte detection
return Report