'Analyze the test results and save the conclusion to the kb.'

def _analyze_results(self, filtered, not_filtered):

    if (len(filtered) >= (len(self._get_offending_strings()) / 5.0)):
        desc = 'The    remote    network    has    an    active    filter.    IMPORTANT:    The    result    of    all    the    other    plugins    will    be    inaccurate,    web    applications    could    be    vulnerable    but    "protected"    by    the    active    filter.'
        i = Info('Active    filter    detected', desc, 1, self.get_name())
        i['filtered'] = filtered
        kb.kb.append(self, 'afd', i)
        om.out.information(i.get_desc())
        om.out.information('The    following    URLs    were    filtered:')
        for i in filtered:
            om.out.information(('-    ' + i))
        if not_filtered:
            om.out.information('The    following    URLs    passed    undetected    by    the    filter:')
            for i in not_filtered:
                om.out.information(('-    ' + i))
