Package com.jsql.util.bruter
Class Bruter
java.lang.Object
com.jsql.util.bruter.Bruter
- Direct Known Subclasses:
HashBruter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidintlongintlongbooleanisDone()booleanisFound()voidsetEndtime(long endtime) voidsetFound(boolean found) voidvoidsetMaxLength(int maxLength) voidsetMinLength(int minLength)
-
Field Details
-
PATTERN_PERIOD
- See Also:
-
characters
-
found
protected boolean found -
maxLength
protected int maxLength -
minLength
protected int minLength -
count
protected int count -
starttime
protected long starttime -
endtime
protected long endtime -
done
protected boolean done
-
-
Constructor Details
-
Bruter
public Bruter()
-
-
Method Details
-
getRemainder
public long getRemainder() -
getNumberOfPossibilities
public long getNumberOfPossibilities() -
addLowerCaseLetters
public void addLowerCaseLetters() -
addDigits
public void addDigits() -
addUpperCaseLetters
public void addUpperCaseLetters() -
addSpecialCharacters
public void addSpecialCharacters() -
excludeChars
-
getPerSecond
public int getPerSecond() -
calculateTimeElapsed
-
setEndtime
public void setEndtime(long endtime) -
setMaxLength
public void setMaxLength(int maxLength) -
setMinLength
public void setMinLength(int minLength) -
isFound
public boolean isFound() -
setFound
public void setFound(boolean found) -
getCounter
public int getCounter() -
setIsDone
-
isDone
public boolean isDone()
-