添加编码

This commit is contained in:
Jing Ling
2020-02-17 12:17:23 +08:00
parent b60838ebee
commit 8c2f10c7d7
+2 -2
View File
@@ -187,7 +187,7 @@ class OneForAll(object):
takeover.run() takeover.run()
def run(self): def run(self):
print(banner) print(banner.encode('utf-8'))
dt = datetime.now().strftime('%Y-%m-%d %H:%M:%S') dt = datetime.now().strftime('%Y-%m-%d %H:%M:%S')
print(f'[*] Starting OneForAll @ {dt}\n') print(f'[*] Starting OneForAll @ {dt}\n')
logger.log('DEBUG', 'Python ' + utils.python_version()) logger.log('DEBUG', 'Python ' + utils.python_version())
@@ -205,7 +205,7 @@ class OneForAll(object):
@staticmethod @staticmethod
def version(): def version():
print(banner) print(banner.encode('utf-8'))
exit(0) exit(0)