Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home/iano/public_html/tpforums-vb5/forum/includes/class_core.php on line 5842

PHP Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 588

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 612

PHP Warning: Use of undefined constant misc - assumed 'misc' (this will throw an Error in a future version of PHP) in ..../global.php(29) : eval()'d code(6) : eval()'d code on line 1

PHP Warning: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in ..../global.php(29) : eval()'d code(6) : eval()'d code on line 1

PHP Warning: Use of undefined constant misc - assumed 'misc' (this will throw an Error in a future version of PHP) in ..../includes/class_bootstrap.php(1422) : eval()'d code(4) : eval()'d code on line 1

PHP Warning: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in ..../includes/class_bootstrap.php(1422) : eval()'d code(4) : eval()'d code on line 1

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6
RSA Key
Results 1 to 4 of 4

Thread: RSA Key

  1. #1
    Junior Member
    Join Date
    Feb 2010
    Posts
    5

    RSA Key

    I'm using vb 2008 epxress and want to know how to change the rsa key...

    If someone know the address, it would be nice if you tell it me !

  2. #2
    Administrator
    Join Date
    Mar 2007
    Posts
    1,723

    RE: RSA Key

    Check this thread:
    http://www.tpforums.org/forum/thread-7161.html

  3. #3
    Junior Member
    Join Date
    Feb 2010
    Posts
    5

    RE: RSA Key

    lol it's &H597610....
    But I still don't know with what I have to replace it ;//

    EDIT: I Tryied to replace it with:
    10912013296739942927886096050899554152823750290279 81291234687579372662914925764463307396960011106039 07230888610072655818825358503429057592827629436413 10856602909362821263595383668656267584972062078627 94310902180176810615217550567108238764764442605581 47179707119674283982419152118103759076030616683978 566631413
    But it don't get changed, lol.

    PS: Ip/Port Changing works for me fine...

  4. #4

    RE: RSA Key

    because rsa address is protected, i give you an example to take a view (tibiaapi)

    [code=vbnet]

    public static bool WriteRSA(IntPtr handle, long address, string newKey)
    {
    IntPtr bytesWritten;
    int result;
    uint oldProtection = 0;

    System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding();
    byte[] bytes = enc.GetBytes(newKey);

    // Make it so we can write to the memory block
    Util.WinApi.VirtualProtectEx(handle, new IntPtr(address), new IntPtr(bytes.Length), Util.WinApi.PAGE_EXECUTE_READWRITE, ref oldProtection);

    // Write to memory
    result = Util.WinApi.WriteProcessMemory(handle, new IntPtr(address), bytes, (uint)bytes.Length, out bytesWritten);

    // Put the protection back on the memory block
    Util.WinApi.VirtualProtectEx(handle, new IntPtr(address), new IntPtr(bytes.Length), oldProtection, ref oldProtection);

    return (result != 0);
    }[/code]


    links:

    http://code.google.com/p/tibiaapi/source/browse/trunk/tibiaapi/Util/WinApi.cs
    http://code.google.com/p/tibiaapi/source/browse/trunk/tibiaapi/Util/Memory.cs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •