':return: A list with all plugin types.'

def get_plugin_types(self):

    def rem_from_list(ele, lst):
        try:
            lst.remove(ele)
        except:
            pass
    plugin_types = [x for x in os.listdir(os.path.join(ROOT_PATH, 'plugins'))]
    plugin_types = [d for d in plugin_types if os.path.isdir(os.path.join(ROOT_PATH, 'plugins', d))]
    rem_from_list('attack', plugin_types)
    rem_from_list('tests', plugin_types)
    rem_from_list('.git', plugin_types)
    return plugin_types
