F6JO / Suture_Box

集合渗透测试常用工具进行一键扫描的缝合怪
215 stars 27 forks source link

windows下utf-8编码问题 #3

Open ArthurSun1 opened 2 years ago

ArthurSun1 commented 2 years ago

system/exec_command.py: def dismap_cms(cmd): b = os.popen(cmd) msg = b.buffer.read().decode('utf-8') return msg

controller/controller.py: 第68行 file = open(f'{path}/output.txt','r',encoding="utf-8")

F6JO commented 2 years ago

system/exec_command.py: def dismap_cms(cmd): b = os.popen(cmd) msg = b.buffer.read().decode('utf-8') return msg

controller/controller.py: 第68行 file = open(f'{path}/output.txt','r',encoding="utf-8")

有报错信息的图片吗