From a2dcc6dde5c44da0aa5c9ccf550c3b346d1da615 Mon Sep 17 00:00:00 2001 From: Jing Ling Date: Sat, 29 Aug 2020 17:24:04 +0800 Subject: [PATCH] typos --- modules/banner.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/banner.py b/modules/banner.py index 25f51cd..4d0757d 100644 --- a/modules/banner.py +++ b/modules/banner.py @@ -54,7 +54,8 @@ class MultiIdentify(Module): logger.log('ALERT', f'The Identify module took {self.elapse} seconds') return result_data - def listener(self, total, done_queue): + @staticmethod + def listener(total, done_queue): par = tqdm.tqdm(total=total, desc='Identify Progress', ncols=80) result_data = [] while len(result_data) < total: @@ -157,7 +158,8 @@ class Identify(object): done_queue.put(item) return - def deal_output(self, banners): + @staticmethod + def deal_output(banners): result = [] for banner in banners: if 'version' in banner: