| Constructor and Description |
|---|
DictionaryMatch(String match,
Configuration configuration,
int start_index,
int end_index,
String dictionary_value,
int rank,
List<Character[]> leetSubstitution,
boolean excluded,
boolean reversed,
String dictionary_name,
int distance)
Create a new
DictionaryMatch |
| Modifier and Type | Method and Description |
|---|---|
String |
getDetails()
Returns details about this match in the form of a String to be printed directly
|
String |
getDictionaryName() |
String |
getDictionaryValue() |
int |
getDistance() |
List<Character[]> |
getLeetSubstitution() |
int |
getRank() |
boolean |
isLeet() |
boolean |
isReversed() |
calculateEntropy, getEndIndex, getLength, getStartIndex, getToken, log2, nCk, setEntropypublic DictionaryMatch(String match, Configuration configuration, int start_index, int end_index, String dictionary_value, int rank, List<Character[]> leetSubstitution, boolean excluded, boolean reversed, String dictionary_name, int distance)
DictionaryMatchmatch - the String we are creating the DictionaryMatch from.configuration - the Configuration object.start_index - the start index in the password for this match.end_index - the end index in the password for this match.rank - The rank of the match in the dictionaryleetSubstitution - If leet substitution was used or notexcluded - if the dictionary was an exclusion dictionaryreversed - if the password was reversed to matchdictionary_name - the name of the dictionary matchedpublic int getRank()
public boolean isLeet()
public String getDictionaryName()
public List<Character[]> getLeetSubstitution()
ArrayList of the leet substitutionpublic boolean isReversed()
public int getDistance()
public String getDictionaryValue()
public String getDetails()
MatchgetDetails in interface MatchgetDetails in class BaseMatchMatch in printable String format.Copyright © 2017. All rights reserved.