23-09-2016, 08:35 AM
I found the exact encoding for the haxorware certificates.
It is ISO 8859-1 Latin 1; Western European (ISO).
To convert the hexadecimal to ansi string i use a function in vb.net.
Public Function HexToStr(ByVal Data As String) As String
Dim com As String = ""
For x = 0 To Data.Length - 1 Step 2
com &= ChrW(CInt("&H" & Data.Substring(x, 2)))
Next
Return com
End Function
Then i use the next instruction to encoding:
Dim sw As New System.IO.StreamWriter(fic, False, System.Text.Encoding.GetEncoding(28591))
fic is the directory + file name.
I hope its clear.
It is ISO 8859-1 Latin 1; Western European (ISO).
To convert the hexadecimal to ansi string i use a function in vb.net.
Public Function HexToStr(ByVal Data As String) As String
Dim com As String = ""
For x = 0 To Data.Length - 1 Step 2
com &= ChrW(CInt("&H" & Data.Substring(x, 2)))
Next
Return com
End Function
Then i use the next instruction to encoding:
Dim sw As New System.IO.StreamWriter(fic, False, System.Text.Encoding.GetEncoding(28591))
fic is the directory + file name.
I hope its clear.