From 51307ae19c39faf0df708da134a1754a23c9d47c Mon Sep 17 00:00:00 2001 From: Jing Ling Date: Mon, 17 Feb 2020 13:02:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E4=BD=BF=E7=94=A8encode=E5=87=BD?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oneforall/oneforall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oneforall/oneforall.py b/oneforall/oneforall.py index cbc456d..b54a475 100644 --- a/oneforall/oneforall.py +++ b/oneforall/oneforall.py @@ -187,7 +187,7 @@ class OneForAll(object): takeover.run() def run(self): - print(banner.encode('utf-8')) + print(banner) dt = datetime.now().strftime('%Y-%m-%d %H:%M:%S') print(f'[*] Starting OneForAll @ {dt}\n') logger.log('DEBUG', 'Python ' + utils.python_version()) @@ -205,7 +205,7 @@ class OneForAll(object): @staticmethod def version(): - print(banner.encode('utf-8')) + print(banner) exit(0)