C# Class Win.Grepify.Scanner

Mostrar archivo Open project: nccgroup/grepify Class Usage Examples

Public Properties

Property Type Description
bStopped bool
frmMaster frmMain
strAPIs string[]

Public Methods

Method Description
GetMaxThreads ( ) : int

Get the maximum number of threads

GetTotalhits ( ) : int

Return the total number of hits

LowerQueueCount ( ) : void
Scanner ( ) : System

Constructor

SetMaxThread ( int intMaxTs ) : bool

Set the maxmimum number of threads

Start ( string strAPIs, string strPath, string strExts, frmMain frmMain ) : bool

Start a scan

Stop ( ) : void

Stop a scan

TotalFiles ( string strPath ) : int

Enumerate the files in a given path and tell us how many

Private Methods

Method Description
EnumerateFiles ( string strPath, string strExts ) : void

Enumerate the files in a given path

ThreadFunction ( Object strObjParams ) : void

Method Details

GetMaxThreads() public method

Get the maximum number of threads
public GetMaxThreads ( ) : int
return int

GetTotalhits() public method

Return the total number of hits
public GetTotalhits ( ) : int
return int

LowerQueueCount() public method

public LowerQueueCount ( ) : void
return void

Scanner() public method

Constructor
public Scanner ( ) : System
return System

SetMaxThread() public method

Set the maxmimum number of threads
public SetMaxThread ( int intMaxTs ) : bool
intMaxTs int
return bool

Start() public method

Start a scan
public Start ( string strAPIs, string strPath, string strExts, frmMain frmMain ) : bool
strAPIs string
strPath string
strExts string
frmMain frmMain
return bool

Stop() public method

Stop a scan
public Stop ( ) : void
return void

TotalFiles() public method

Enumerate the files in a given path and tell us how many
public TotalFiles ( string strPath ) : int
strPath string
return int

Property Details

bStopped public_oe property

public bool bStopped
return bool

frmMaster public_oe property

public frmMain,Win.Grepify frmMaster
return frmMain

strAPIs public_oe property

public string[] strAPIs
return string[]