'This method is called when the plugin wont be used anymore.'

def end(self):

    profiling_data = kb.kb.raw_read(self.get_name(), self.get_name())
    if isinstance(profiling_data, dict):
        items = profiling_data.items()
        if (len(items) != 0):
            items.sort(sort_func)
            om.out.information('Password    profiling    TOP    100:')
            list_length = len(items)
            if (list_length > 100):
                x_len = 100
            else:
                x_len = list_length
            for i in xrange(x_len):
                msg = ((((('-    [' + str((i + 1))) + ']    ') + items[i][0]) + '    with    ') + str(items[i][1]))
                msg += '    repetitions.'
                om.out.information(msg)
