Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

中文版win10遇到的问题修改 #50

Open
weibasai opened this issue Feb 23, 2021 · 5 comments
Open

中文版win10遇到的问题修改 #50

weibasai opened this issue Feb 23, 2021 · 5 comments

Comments

@weibasai
Copy link

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
Copy link

0xPassw0rd commented Feb 27, 2021

Windows 10 安装以来后 -show 报错,更改下编码格式即可:chcp 65001
image

@Michael-24
Copy link

Windows 10 安装以来后 -show 报错,更改下编码格式即可:chcp 65001
image

我想问下chcp是什么意思

@nkiiiiid
Copy link

nkiiiiid commented Apr 2, 2021

chcp = change code page。code page是ibm发布的一个编码集🍞

@zhengxiaoya2017
Copy link

遇到同样的问题,想知道win10如何使用,谢谢
image

@CodeDiscovery1024
Copy link

CodeDiscovery1024 commented Mar 29, 2024

完全懵逼,卡在第一步不知道咋操作
Snipaste_2024-03-29_15-52-12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants