中文版win10遇到的问题修改
weibasai opened this issue · 5 comments
weibasai commented
run_command方法中的返回语句字符集需要修改为“gbk”
return output.decode("gbk").rstrip("\r\n")
get_password方法中,判断为"win32“的分支需要修改
elif sys.platform == "win32":
password = run_command(f"netsh wlan show profile name="{ssid}" key=clear")
password = re.findall(r"关键内容\s+:\s(.*)", password)[0]
0xPassw0rd commented
Michael-24 commented
nkiiiiid commented
chcp = change code page。code page是ibm发布的一个编码集🍞
zhengxiaoya2017 commented
CodeDiscovery1024 commented