Jump to content
  • Create New...
  • 0

Problem with vb.net



Hi, i try to change the keys (LZO and XTEA) from FileArchiver_EterPack tim archiver with vb.net

Visual Studio 2010 Express.


Anyone know how can modified?

I try with .Replace, read the archive in bytes, and then write in hex, but when i try to search the keys in hex i dont find it.

    Private Function Bytes_To_String2(ByVal bytes_Input As Byte()) As String
        Dim strTemp As New StringBuilder(bytes_Input.Length * 2)
        For Each b As Byte In bytes_Input
        Return strTemp.ToString()
    End Function
    Sub test()
        Dim value As Byte() = My.Computer.FileSystem.ReadAllBytes(App_Path() + "System/FileArchiver_EterPack.exe")
        Dim sema As String
        sema = Bytes_To_String2(value)

        "test.txt", sema, True)
        "test2.txt", value, True)

And here an example of what I want to do

    Sub test()
        Dim value As Byte() = My.Computer.FileSystem.ReadAllBytes(App_Path() + "System/FileArchiver_EterPack.exe")

        "test2.txt", value.replace("OLD LZO KEY HERE","NEW LZO KEY HERE", True) ' But here i can't put a replace in byte .

Anyone can help me? Thanks.

Sorry my bad english.

Link to comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

3 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.