':yield: lines from the web shell DB'

def _iter_web_shells(self):

    for line in file(self.WEBSHELL_DB):
        line = line.strip()
        if line.startswith('#'):
            continue
        if (not line):
            continue
        (yield line)
