jm33-m0 / emp3r0r

Linux/Windows post-exploitation framework made by linux user
https://infosec.exchange/@jm33
MIT License
1.26k stars 232 forks source link

Remote shell: encoding problems #158

Closed c0okB closed 1 year ago

c0okB commented 1 year ago

执行系统命令,比如systeminfo 返回的是中文乱码

jm33-m0 commented 1 year ago

这是正常现象,因为Windows中文版使用GBK编码,而Linux环境下的终端默认使用UTF-8编码。所以这不是emp3r0r的问题,你手工将终端编码调成相应的就可以显示了。

jm33-m0 commented 1 year ago

In case someone needs it, I am adding translation: When you see encoding error, try to change the default encoding setting of your terminal (for example gnome-shell), emp3r0r is not responsible for decoding those characters, it just bring them in and your terminal prints them.