Results 1 to 9 of 9
  1. #1
    OiuriO's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    4
    My Mood
    Relaxed

    Cool Difference between C# and C++ for gaming hacking

    Hello everyone.

    A while ago i was playing with game hacking (i have a CHEAT ENGINE re-compiled and undetectable)
    I came across an immense difficulty in detecting the true pointers (offsets)
    Yours can tell me what better way to investigate them? therefore, the CE seems that is hard work and time consuming.

    There yes on C# and C++ languages ​​is there any difference in developing hacks with a low level language (C++) or high level language (C#) the principle has therefore both use WIN API quietly.

    Thanks and []'s

  2. #2
    WasserEsser's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    735
    Reputation
    174
    Thanks
    677
    My Mood
    Busy
    C# is managed, meaning that you compile into IL code which gets interpreted at runtime by the CLR.
    C++ is compiled directly into binary, meaning that your code is faster if you didn't write complete shit since the code doesn't have to get interpreted but already is interpreted and compiled into CPU instructions. Since there is no CLR in the middle which interprets your code and runs it, you are much closer to the hardware. You have direct memory access as long as you stay in your own memory space.

  3. #3
    Zaczero's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Location
    localhost
    Posts
    3,288
    Reputation
    1517
    Thanks
    14,263
    My Mood
    Angelic
    C# can be decompiled easily
    You have to spend some time to making/finding good obfuscators.
    I think that ConfuserEx is the best free one


    - - - Updated - - -

    PS. In c++ you can make .dll that can be injected into another process. Idk if it is possible to do that in c#.
    But overall c# is better if you want to code more in less time. There are several techniques to make your code faster.
    In Visual Studio while making c# app you can make UI of your app by just dragging and dropping
    c# is less complicated but slower.
    c++ is more complicated but faster and got more possibilites.
    . . . malsignature.com . . .



    [ global rules ] [ scam report ] [ image title ] [ name change ] [ anime force ]
    [ league of legends marketplace rules ] [ battlefield marketplace rules ]

    "because everytime you post a picture of anime in here
    your virginity's time increases by 1 month"
    ~Smoke 2/18/2018


    Former Staff 09-29-2018
    Battlefield Minion 07-21-2018
    Premium Seller 03-04-2018
    Publicist 12-10-2017
    League of Legends Minion 05-31-2017
    Premium 02-05-2017
    Member 10-13-2013

  4. The Following User Says Thank You to Zaczero For This Useful Post:

    rawaf (08-16-2018)

  5. #4
    OiuriO's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    4
    My Mood
    Relaxed
    Quote Originally Posted by WasserEsser View Post
    C# is managed, meaning that you compile into IL code which gets interpreted at runtime by the CLR.
    C++ is compiled directly into binary, meaning that your code is faster if you didn't write complete shit since the code doesn't have to get interpreted but already is interpreted and compiled into CPU instructions. Since there is no CLR in the middle which interprets your code and runs it, you are much closer to the hardware. You have direct memory access as long as you stay in your own memory space.
    Thanks for explanation.
    All you spoke already know, understand the difference between high level languages (less complexity / lower performance) and low level languages (more complexity / higher performance) my doubt that the difficulty of working with processes and memories addresses because basically game hacking is change a value in memory (roughly speaking mode)

    I still doubt whether it is better to do in C# or C++ haha

    Quote Originally Posted by Zaczero View Post
    C# can be decompiled easily
    You have to spend some time to making/finding good obfuscators.
    I think that ConfuserEx is the best free one


    - - - Updated - - -

    PS. In c++ you can make .dll that can be injected into another process. Idk if it is possible to do that in c#.
    But overall c# is better if you want to code more in less time. There are several techniques to make your code faster.
    In Visual Studio while making c# app you can make UI of your app by just dragging and dropping
    c# is less complicated but slower.
    c++ is more complicated but faster and got more possibilites.
    ConfuserEx, It is basically a encrypt tool?

    "c++ is more complicated but faster and got more possibilites."
    This seems a myth since the two can use the api windows.


    - Topic

    you do not know any other way to acquire offsets except by brute force?
    brute force is check if it changes while interact with game

    I am currently suffering from some 200 addresses that need to find a static to change its value
    Scanning can usually find him but if close the game the address changes (necessary find your true pointer) as well as releasing a version here. ^^
    Last edited by OiuriO; 11-06-2016 at 11:02 AM.

  6. #5
    Zaczero's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Location
    localhost
    Posts
    3,288
    Reputation
    1517
    Thanks
    14,263
    My Mood
    Angelic
    Quote Originally Posted by OiuriO View Post
    Thanks for explanation.
    All you spoke already know, understand the difference between high level languages (less complexity / lower performance) and low level languages (more complexity / higher performance) my doubt that the difficulty of working with processes and memories addresses because basically game hacking is change a value in memory (roughly speaking mode)

    I still doubt whether it is better to do in C# or C++ haha



    ConfuserEx, It is basically a encrypt tool?

    "c++ is more complicated but faster and got more possibilites."
    This seems a myth since the two can use the api windows.


    - Topic

    you do not know any other way to acquire offsets except by brute force?
    brute force is check if it changes while interact with game

    I am currently suffering from some 200 addresses that need to find a static to change its value
    Scanning can usually find him but if close the game the address changes (necessary find your true pointer) as well as releasing a version here. ^^
    Encrypt tools doesn't work on c# apps because you can always dump an app from memory.
    ConfuserEx is an obfuscator. It means that it changes the code to make it a lot harder to understand.

     

     


    As you can see even decompiler can't decompile every function.
    But everything is possible!
    If someone wants to crack your app he will do this.
    . . . malsignature.com . . .



    [ global rules ] [ scam report ] [ image title ] [ name change ] [ anime force ]
    [ league of legends marketplace rules ] [ battlefield marketplace rules ]

    "because everytime you post a picture of anime in here
    your virginity's time increases by 1 month"
    ~Smoke 2/18/2018


    Former Staff 09-29-2018
    Battlefield Minion 07-21-2018
    Premium Seller 03-04-2018
    Publicist 12-10-2017
    League of Legends Minion 05-31-2017
    Premium 02-05-2017
    Member 10-13-2013

  7. #6
    WasserEsser's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    735
    Reputation
    174
    Thanks
    677
    My Mood
    Busy
    Quote Originally Posted by Zaczero View Post


    Encrypt tools doesn't work on c# apps because you can always dump an app from memory.
    ConfuserEx is an obfuscator. It means that it changes the code to make it a lot harder to understand.

     

     


    As you can see even decompiler can't decompile every function.
    But everything is possible!
    If someone wants to crack your app he will do this.
    There is UnconfuserEx which you can simply use to decompile it. Otherwise, you could just look for the decrypt function inside of the binary and call it with the binaries memory.

    Encryption is also completely unrelated to the question if C# or C++ is better for game hacking.

  8. #7
    Zaczero's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Location
    localhost
    Posts
    3,288
    Reputation
    1517
    Thanks
    14,263
    My Mood
    Angelic
    Quote Originally Posted by WasserEsser View Post
    There is UnconfuserEx which you can simply use to decompile it. Otherwise, you could just look for the decrypt function inside of the binary and call it with the binaries memory.

    Encryption is also completely unrelated to the question if C# or C++ is better for game hacking.
    I was replying for his question about confuserex
    . . . malsignature.com . . .



    [ global rules ] [ scam report ] [ image title ] [ name change ] [ anime force ]
    [ league of legends marketplace rules ] [ battlefield marketplace rules ]

    "because everytime you post a picture of anime in here
    your virginity's time increases by 1 month"
    ~Smoke 2/18/2018


    Former Staff 09-29-2018
    Battlefield Minion 07-21-2018
    Premium Seller 03-04-2018
    Publicist 12-10-2017
    League of Legends Minion 05-31-2017
    Premium 02-05-2017
    Member 10-13-2013

  9. #8
    OiuriO's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    4
    My Mood
    Relaxed
    Quote Originally Posted by Zaczero View Post


    Encrypt tools doesn't work on c# apps because you can always dump an app from memory.
    ConfuserEx is an obfuscator. It means that it changes the code to make it a lot harder to understand.

     

     


    As you can see even decompiler can't decompile every function.
    But everything is possible!
    If someone wants to crack your app he will do this.
    hm, so nice, i use minify reources ( css / js ) on the job. Is "similar" to obfuscator haha beacause need beautify the source code to undestand
    but why i would use it? if this community is open source? O.o

    Quote Originally Posted by WasserEsser View Post
    There is UnconfuserEx which you can simply use to decompile it. Otherwise, you could just look for the decrypt function inside of the binary and call it with the binaries memory.

    Encryption is also completely unrelated to the question if C# or C++ is better for game hacking.
    ya, its unrelated but knowledge is never too much ^^
    Last edited by OiuriO; 11-11-2016 at 12:28 AM.

  10. #9
    lolp3's Avatar
    Join Date
    May 2016
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    1
    C# can be injected and access direct memory and unmanaged functions.

    Sorry for the spaced, cant post links here still.

    See: ******. com/lo lp1/DomainWrapper

    This is my library for interacting both internally and externally with processes in c#

    ******. com/lo lp1/Process. NET

Similar Threads

  1. [Info] Difference between PATCHED and DETECTED hacks
    By habooblax in forum Alliance of Valiant Arms (AVA) Help
    Replies: 2
    Last Post: 10-12-2012, 06:40 PM
  2. [Solved] Difference between external and universal hacks
    By SioThaMan in forum Call of Duty Modern Warfare 3 Help
    Replies: 3
    Last Post: 10-07-2012, 12:35 PM
  3. [Info] Difference between PATCHED and DETECTED hacks.
    By flameswor10 in forum Combat Arms Hacks & Cheats
    Replies: 109
    Last Post: 09-02-2012, 11:38 PM
  4. [Info] difference between patched and detected hacks
    By omanor in forum CrossFire Discussions
    Replies: 15
    Last Post: 12-11-2011, 11:09 AM
  5. Difference between pub and VIP hack
    By adasiekk2 in forum CrossFire Hacks & Cheats
    Replies: 7
    Last Post: 01-04-2010, 03:42 PM