Home | Trees | Indices | Help |
---|
|
A work crew is instantiated passing a ScanTask object as a parameter, thus defining the target and the way the scanning should be done. After the initialization of the work crew it can be used to scan the target and get the obtained clues back.
>>> crew = WorkCrew(scantask) >>> clues = crew.scan()
These are the features that the WorkCrew must provide:
The WorkCrew object spawns different kinds of threads. Here's a brief summary of what they do:
The following is a diagram showing the way it works:
.--> Manager --. | | +--> Scanner --+ .----------. .----------. | | .-------. IN --> | ScanTask |->-| WorkCrew |--+--> Scanner --+->-| Clues |--> OUT `----------' `----------' | | `-------' +--> Scanner --+ | | `--> Scanner --'
|
|||
ScanState Shared state among scanner threads. |
|||
WorkCrew Pool of scanners working in parallel. |
|||
BaseScanner Base class for load balancer scanning threads. |
|||
Scanner Scans the target host from the local machine. |
|||
Manager Performs management tasks during the scan. |
|
|||
__package__ =
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Aug 14 15:09:27 2010 | http://epydoc.sourceforge.net |