public class Vulnscand extends AbstractServiceDaemon
Vulnerability scanning daemon. This process is used to provide continual scans of target interfaces that identify possible security holes. The vulnerability scanner that this version uses to identify security flaws is Nessus 1.1.X (www.nessus.org).
This code is adapted from the capsd code because its behavior is quite similar; it continually scans the target ranges, enters the scan results into a database table, and also supports rescans whose threads are pulled from a separate thread pool so that they occur immediately.
PAUSE_PENDING, PAUSED, RESUME_PENDING
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED
Constructor and Description |
---|
Vulnscand()
Constructs the Vulnscand objec
|
Modifier and Type | Method and Description |
---|---|
static Vulnscand |
getInstance()
getInstance
|
static String |
getLocalHostAddress()
Used to retrieve the local host name/address.
|
void |
initialize()
initialize
|
protected void |
onInit()
onInit
|
protected void |
onStart()
onStart
|
protected void |
onStop()
onStop
|
afterPropertiesSet, debugf, debugf, errorf, errorf, fatalf, fatalf, getName, getStatus, getStatusText, infof, infof, init, isPaused, isRunning, isStarting, isStartPending, log, onPause, onResume, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus, warnf, warnf
protected void onStop()
onStop
onStop
in class AbstractServiceDaemon
protected void onStart()
onStart
onStart
in class AbstractServiceDaemon
public static String getLocalHostAddress()
String
object.protected void onInit()
onInit
onInit
in class AbstractServiceDaemon
public void initialize() throws SQLException
initialize
SQLException
- if any.Copyright © 2015. All Rights Reserved.