HavocFramework / Havoc

The Havoc Framework.
https://havocframework.com
GNU General Public License v3.0
6.72k stars 949 forks source link

fix WCharStringToCharString function error #283

Closed rhakb closed 1 year ago

rhakb commented 1 year ago

When the parameter Source is unicode, such as Japanese, the conversion results in garbled text(I think it should be called toutf8 , not tochar ), And CharStringToWCharString function seems to have this problem too , but I haven't changed it yet

For example, net localgroup uses the WCharStringToCharString function, which can be tested using this command