def write_line_to_file(self): ''' Write a single line or a list of lines to the specified file. :param file: Path of the file to write in :param lines: List-type object of lines to write, or a single string ''' abstract_method(self)
def calc_average_chars(self): ''' Calculates the average of the following per cracked pw: --> letters --> digits --> symbols ''' abstract_method(self)
def categorize_pws(self): ''' Process the cracked passwords and categorize them. The function sorts the pws by: --> letters only --> digits only --> symbols only --> includes letters and digits --> includes letters and symbols --> includes letters, digits and symbols ''' abstract_method(self)
def gen_report(self): ''' Generates, edits and prints the analysis results. ''' abstract_method(self)
def execute_analysis_plugins(self): ''' Searches the 'analysis_plugins' folder for scripts to execute along with the default analysis modules. Those filenames with a leading '_' will be ignored. ''' abstract_method(self)
def count_duplicate_guesses(self): ''' Counts the amount of pw candidates which have been genereated multiple times by the guesser as well as the total amount of duplicates. ''' abstract_method(self)
def count_unique_pws(self): ''' Counts the total amount of unique passwords in the leak. ''' abstract_method(self)
def parse_jtr_pot_file(self): ''' Required for hash analysis, but will be called from analysis.py.execute for plaintext as well. ''' abstract_method(self)
def process_candidates(self): ''' Starts the analysis. :param candidate_block: list-type collection of password candidates received by the server. ''' abstract_method(self)
def update_plot_file(self): ''' Appends the provided value (percentage) to the last line of the plotfile. ''' abstract_method(self)
def parse_x_axis_values(self): ''' Parse the values for the x-axis of the plot. ''' abstract_method(self)
def __init__(self): ''' Generator. ''' abstract_method(self)
def parse_pw_file(self): '''Parses the Password File (filename) and returns the given data, such as plain text passwords or hashvalues, usernames, hash algorithms, salts and so on. ''' abstract_method(self)
def get_filetype(self): ''' Return the input type indicator to run the according analysis module and the execution module correctly. ''' abstract_method(self)
def __init__(self): ''' Constructor. ''' abstract_method(self)