How to encrypt HTScript.sys

Results 1 to 8 of 8
  1. #1
    Member itachi7 is offline
    MemberRank
    Jan 2017 Join Date
    58Posts

    How to encrypt HTScript.sys

    Hi guys, does anyone know how to encrypt the HTScript.sys, basically I want to edit the title names on my server but using an HTScript.sys on my client would make it crash, I read somewhere on this forum that I need to encrypt it or something similar to what HanbitSoft did

    Any ideas? please share if possible, thanks


  2. #2
    تانترا اون لاين Lunatic is offline
    MemberRank
    Jan 2014 Join Date
    KoreaLocation
    420Posts

    Re: How to encrypt HTScript.sys

    Quote Originally Posted by itachi7 View Post
    Hi guys, does anyone know how to encrypt the HTScript.sys, basically I want to edit the title names on my server but using an HTScript.sys on my client would make it crash, I read somewhere on this forum that I need to encrypt it or something similar to what HanbitSoft didAny ideas? please share if possible, thanks
    Don't waste your time dude , no one will share .. HTScript.sys needs a compiler for you to edit those titles names etc , as what Eliana said .she created the tool/compiler to edit / add names on titles .
    good luck ! Ciao! :)

  3. #3
    Member Reaguee is offline
    MemberRank
    Jan 2011 Join Date
    84Posts

    Re: How to encrypt HTScript.sys

    Well because im not able to login with my FB account on the forum since weeks ago, I will answer with this other account.

    And probably with my answer, the guy (Davide Milidoni) who is doing tools for tantra to sell, is gonna do this too.

    HTScript.sys is nothing else than another tantraparam with an added tab page called Tittle , the file in xml is called TantraParamExp.xml, the encryption method is the same used in all other encrypted files of tantra (CryptEncrypt function https://msdn.microsoft.com/en-us/lib...v=vs.85).aspx). So in order to encrypt it, you have 2 ways:

    1.- Find the KEY client and server use to decrypt it ( which of course is the same to encrypt it) and then write your program to encrypt the file with that key.
    or
    2.- hook the decrypt function on client and server, to a custom one in a .dll made by you in which you use your own KEY to encrypt and decrypt.

    In my opinion, #1 is harder than #2, as I said in the other post, to find that KEY took me like 2 month of search and learn. I supouse that for experts in assembler and c++ finding the key will be more easy that it was for me.

    Regards
    Eliana Gherbaz

  4. #4
    Member itachi7 is offline
    MemberRank
    Jan 2017 Join Date
    58Posts

    Re: How to encrypt HTScript.sys

    Quote Originally Posted by Reaguee View Post
    Well because im not able to login with my FB account on the forum since weeks ago, I will answer with this other account.

    And probably with my answer, the guy (Davide Milidoni) who is doing tools for tantra to sell, is gonna do this too.

    HTScript.sys is nothing else than another tantraparam with an added tab page called Tittle , the file in xml is called TantraParamExp.xml, the encryption method is the same used in all other encrypted files of tantra (CryptEncrypt function https://msdn.microsoft.com/en-us/lib...v=vs.85).aspx). So in order to encrypt it, you have 2 ways:

    1.- Find the KEY client and server use to decrypt it ( which of course is the same to encrypt it) and then write your program to encrypt the file with that key.
    or
    2.- hook the decrypt function on client and server, to a custom one in a .dll made by you in which you use your own KEY to encrypt and decrypt.

    In my opinion, #1 is harder than #2, as I said in the other post, to find that KEY took me like 2 month of search and learn. I supouse that for experts in assembler and c++ finding the key will be more easy that it was for me.

    Regards
    Eliana Gherbaz
    I see, thanks

    Actually I have a tab on my param named "Title" and it starts with 40001 im not sure if you made a typo so I'm confused if it is "Title" or "Tittle"

    I tried removing HTScript.sys on my client and added the new param with the "Title" Tab and it didn't seem to work, cant even see the titles anymore

    May I know what program/software I should use/study for hooking the decrypt function with a DLL file?

    Thanks

    I was trying to find out how to encrypt it like you told me a few months ago on another thread,

  5. #5
    Member Reaguee is offline
    MemberRank
    Jan 2011 Join Date
    84Posts

    Re: How to encrypt HTScript.sys

    Quote Originally Posted by itachi7 View Post
    ... im not sure if you made a typo so I'm confused if it is "Title" or "Tittle"
    I made a typo sorry, the tab name is Title.

    Quote Originally Posted by itachi7 View Post
    I tried removing HTScript.sys on my client and added the new param with the "Title" Tab and it didn't seem to work, cant even see the titles anymore
    You cannot remove the HTScript.sys from client.
    When I said that HTScript.sys is just another tantraparam, is because Hanbit added a 2nd param to the client and called HTScript.sys, is the same as what they did with for example MonsterTex, you have 2 files MonsterTex and MonsterTex2, MonsterTex2 is the expansion, well HTScript.sys is the expansion of tantraparam.tpa. This was made to avoid CPU overload for reading big files (is faster to read 2 files of 1MB than to read 1 of 2MB).

    so tantraparam.tpa= TantraParam.xml
    and
    HTScript.sys=TantraParamExp.xml

    Even if you have the Title tab on the TantraParam.xml, the actual compiler(XML2TXT), don't have the code to encrypt that tab (the tab is ignored), so you have to write your own compiler which includes that tab in the encrypted file, and then you have to call it HTScript.sys because that is the file the client and server will read for Titles. If you don't want to have 2 files for the param (tantraparam.tpa and HTScript.sys) then you will need to modify HTLauncher and Zone to read just 1.

    Quote Originally Posted by itachi7 View Post
    May I know what program/software I should use/study for hooking the decrypt function with a DLL file?
    There are already lots of libraries (lib) that will do the hard work of the hook, you just need to select one of them, include it in your .dll and use it.
    I can't tell you which lib to use, because that depends on what language you will use for write the .dll.
    You can learn on how to hook, by just googling "detour [lang]", for example if you are going to use c++ then "detour c++"

  6. #6
    تانترا اون لاين Lunatic is offline
    MemberRank
    Jan 2014 Join Date
    KoreaLocation
    420Posts

    Re: How to encrypt HTScript.sys

    " If you don't want to have 2 files for the param (tantraparam.tpa and HTScript.sys) then you will need to modify HTLauncher and Zone to read just 1. "

    Hi eliana , if we modified the HTLauncher and Zone.exe to read only 1 file which is TantraParam.tpa only , then we can easily rename / add titles in Title TAB " TantraParam.xml " ??

  7. #7
    Member itachi7 is offline
    MemberRank
    Jan 2017 Join Date
    58Posts

    Re: How to encrypt HTScript.sys

    Quote Originally Posted by Panyawan View Post
    " If you don't want to have 2 files for the param (tantraparam.tpa and HTScript.sys) then you will need to modify HTLauncher and Zone to read just 1. "

    Hi eliana , if we modified the HTLauncher and Zone.exe to read only 1 file which is TantraParam.tpa only , then we can easily rename / add titles in Title TAB " TantraParam.xml " ??
    Yes I think that is possible but you would have to make a compiler that will include the "Title" tab on the param

    - - - Updated - - -

    Quote Originally Posted by Reaguee View Post
    I made a typo sorry, the tab name is Title.

    You cannot remove the HTScript.sys from client.
    When I said that HTScript.sys is just another tantraparam, is because Hanbit added a 2nd param to the client and called HTScript.sys, is the same as what they did with for example MonsterTex, you have 2 files MonsterTex and MonsterTex2, MonsterTex2 is the expansion, well HTScript.sys is the expansion of tantraparam.tpa. This was made to avoid CPU overload for reading big files (is faster to read 2 files of 1MB than to read 1 of 2MB).

    so tantraparam.tpa= TantraParam.xml
    and
    HTScript.sys=TantraParamExp.xml

    Even if you have the Title tab on the TantraParam.xml, the actual compiler(XML2TXT), don't have the code to encrypt that tab (the tab is ignored), so you have to write your own compiler which includes that tab in the encrypted file, and then you have to call it HTScript.sys because that is the file the client and server will read for Titles. If you don't want to have 2 files for the param (tantraparam.tpa and HTScript.sys) then you will need to modify HTLauncher and Zone to read just 1.



    There are already lots of libraries (lib) that will do the hard work of the hook, you just need to select one of them, include it in your .dll and use it.
    I can't tell you which lib to use, because that depends on what language you will use for write the .dll.
    You can learn on how to hook, by just googling "detour [lang]", for example if you are going to use c++ then "detour c++"

    Oh okay, I got that, thank you so much for the clarification, I'll do c++ then, kudos

  8. #8
    Member itachi7 is offline
    MemberRank
    Jan 2017 Join Date
    58Posts

    Re: How to encrypt HTScript.sys

    Forgot to close this thread

    Please close this



Advertisement