C# Class DOTNETIDS.IDS

The .NET Intrustion Detection System
Afficher le fichier Open project: IndiansIncredible/.NetIDS Class Usage Examples

Private Properties

Свойство Type Description
ConcatControls string
Detect List
IDS System
Iterate void
IterateOver void

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat System

IDS() public méthode

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
Résultat System

IDS() public méthode

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.
Résultat System

IDS() public méthode

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.
Résultat System

IDS() public méthode

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
Résultat System

IDS() public méthode

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.
Résultat System

IDS() public méthode

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
Résultat System

IDS() public méthode

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
Résultat System

Run() public méthode

Perform intrusion detection
public Run ( ) : Report
Résultat Report

Run() public méthode

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