|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.securitycentric.metacoretex.lib.AbstractProbe
com.securitycentric.metacoretex.lib.AbstractVersionProbe
One of the other Abstract probe classes which doesn't require the developer to implement a probe() method. These probes usually just test their specified version against a KB key set by another probe which gathered verion information from a Target.
| Field Summary |
| Fields inherited from class com.securitycentric.metacoretex.lib.AbstractProbe |
copyright, depVect, enabled, familyStr, helpStr, nameStr, options, pException, probeId, provHash, reportable, repStr, safe, severity, target, timeout, unspec, version |
| Constructor Summary | |
AbstractVersionProbe()
|
|
| Method Summary | |
java.lang.String |
getKbKey()
Get the KB key used for the Version object this probe tests. |
Version |
getTestVersion()
Get the Version object which this probe has set for itself. |
boolean |
matchRelease()
Determines if this VersionProbe must match the release to bother testing |
void |
probe()
Carry out the probe. |
void |
setKbKey(java.lang.String key)
Set the KB key which is used by this probe to get the Version to test agains. |
void |
setMatchRelease(boolean mat)
Set the value for the match release parameter. |
void |
setTestVersion(java.lang.String ver)
Set the version string tested by this probe. |
| Methods inherited from class com.securitycentric.metacoretex.lib.AbstractProbe |
addDepends, addOption, addProvides, addReport, depends, dumpOptions, getCopyright, getException, getFamily, getHelp, getHost, getName, getOption, getOptionKeys, getProbeId, getReport, getSeverity, getTarget, getTimeout, getVersion, hasSafe, isEnabled, isReportable, kbGet, kbHas, kbPut, probeSafe, provides, replaceOptions, run, setCopyright, setEnabled, setFamily, setHelp, setName, setProbeId, setReport, setReportable, setSeverity, setTarget, setTimeout, setVersion |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.securitycentric.metacoretex.interfaces.Probe |
addDepends, addOption, addProvides, addReport, depends, dumpOptions, getCopyright, getException, getFamily, getHelp, getHost, getName, getOption, getOptionKeys, getProbeId, getReport, getSeverity, getTarget, getTimeout, getVersion, hasSafe, isEnabled, isReportable, kbGet, kbHas, kbPut, probeSafe, provides, replaceOptions, setCopyright, setEnabled, setFamily, setHelp, setName, setProbeId, setReport, setReportable, setSeverity, setTarget, setTimeout, setVersion |
| Methods inherited from interface java.lang.Runnable |
run |
| Constructor Detail |
public AbstractVersionProbe()
| Method Detail |
public java.lang.String getKbKey()
getKbKey in interface VersionProbepublic Version getTestVersion()
getTestVersion in interface VersionProbepublic boolean matchRelease()
matchRelease in interface VersionProbepublic void setKbKey(java.lang.String key)
setKbKey in interface VersionProbepublic void setMatchRelease(boolean mat)
setMatchRelease in interface VersionProbepublic void setTestVersion(java.lang.String ver)
setTestVersion in interface VersionProbe
public void probe()
throws ProbeException
probe in interface ProbeProbeException - These exceptions are thrown when failure causes the probe to be unable to determine weather or not the target is vulnerable.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||