def scan(self, threads=20):
        if self._status == -1:
            return False
        threads_list = []
        for i in range(threads):
            t = threading.Thread(target=self._scan_worker)
            threads_list.append(t)
            t.start()
        for t in threads_list:
            t.join()
        for key in self.results.keys():
            if len(self.results[key]) > 10:
                del self.results[key]
        return self.host, self.results, self.final_severity
dataset/ETHPy150Open lijiejie/BBScan/BBScan.py/InfoDisScanner.scan/original