|
|||||||||||
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.AbstractAuthProbe
This is the abstract probe from which new AuthProbes may be extended. Most often this type of probe is used if you would like to create a "brute forcer" which can't use the same normal timeout as other probes.
Field Summary | |
boolean |
brute
distinguishes weather or not this probe is a brute force probe. |
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 | |
AbstractAuthProbe()
|
Method Summary | |
boolean |
isBrute()
used by the thread timers to decide if this probe gets treated like a brute forcer or a normal probe. |
void |
probe()
A method for implemeting AuthProbes which only require the test() method over-ride this method to implement your own |
void |
setBrute(boolean b)
Set the brute boolean value for this probe. |
boolean |
shouldRun()
This method is a place holder for those wishing to implement the probe() method directly and won't need prepare() |
int |
test(java.lang.String pass)
This method is a place-holder for those wishing to implement the probe() method directly and not use test() at all |
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 |
Field Detail |
public boolean brute
Constructor Detail |
public AbstractAuthProbe()
Method Detail |
public boolean isBrute()
isBrute
in interface AuthProbe
true
if its a brute-force probe false
if notpublic void setBrute(boolean b)
setBrute
in interface AuthProbe
b
- true
if we brute, false
if we don'tpublic void probe() throws ProbeException
probe
in interface Probe
ProbeException
- These exceptions are thrown when failure causes the probe to be unable to determine weather or not the target is vulnerable.public int test(java.lang.String pass) throws ProbeException
test
in interface AuthProbe
ProbeException
public boolean shouldRun() throws ProbeException
shouldRun
in interface AuthProbe
ProbeException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |