Package Halberd :: Module ScanTask :: Class ScanTask
[hide private]
[frames] | no frames]

Class ScanTask

source code

Describes the way a scan should be performed.

Instance Methods [hide private]
 
__init__(self) source code
 
readConf(self)
Read configuration file.
source code
Instance Variables [hide private]
str addr
Address of the target web server.
list analyzed
Sequence of clues after the analysis phase.
str certfile
Certificate to be used for SSL connections.
list clues
Sequence of clues obtained from the target.
bool debug
Display debug information.
str keyfile
Key file for SSL connections.
str out
File where to write reports.
tuple proxy_serv_addr
Address + port where to listen when operating as a proxy.
str save
File or directory name where the results will be written.
str url
URL to scan.
str urlfile
Root folder to use for storing results of MultiScans.
bool verbose
Display status information during the scan.
Method Details [hide private]

readConf(self)

source code 

Read configuration file.

This method tries to read the specified configuration file. If we try to read it at the default path and it's not there we create a bare-bones file and use that one.

Raises:
  • ConfError - If there's some problem creating or reading the configuration file.

Instance Variable Details [hide private]

out

File where to write reports. If it's not set, stdout will be used.
Type:
str