Categories > Coding > C++ >

[Question] How do you obfuscate c++ code

Posts: 715

Threads: 30

Joined: Sep, 2020

Reputation: 13

Posted

How do you obfuscate c++ code?? 

  • 1

Added

IDA pro....

Content length must be 10-5000 chars

 

  • 0

| Discord (Updated): apppon#8358 | C++ Enthusiast | 

AIpha

alpha

Posts: 173

Threads: 23

Joined: May, 2018

Reputation: 4

Replied

@MyUserIsTaken

You do know IDA Pro isn't a decompiler its a disassembler which turns machine code into assembly. So yes there isnt any "C++ decompilers"

  • 0

Was on WRD front page

Programs I own - Synapse X, Protosmasher, Sirhurt, Sweat Heart of Sigma Chi, Scriptware V2

Languages I know - C#,JS,Lua,VB.net
Learning - Python, C

Posts: 715

Threads: 30

Joined: Sep, 2020

Reputation: 13

Replied

oooh!

 

Content length must be 10-5000 chars

  • 0

| Discord (Updated): apppon#8358 | C++ Enthusiast | 

Hectique

Hectique

Posts: 1307

Threads: 186

Joined: Nov, 2019

Reputation: 14

Replied

No need to Obfuscate it because C++ can't be decompiled

 

¯\_(ツ)_/¯

  • 0

a former active and known member of the WRD community, but im kinda just a meme now

MCgamin1738

Coco Owner

Posts: 98

Threads: 1

Joined: Jan, 2020

Reputation: 26

Replied

About The Replies Above, C++ Code Can Be Decompiled Using Ida Pro, It Has A Decompiler Addon. You Can Protect Your Code Using Either VMProtect Or Themida, Themida Is Better But Has A Larger Performance Impact, Which Is Why Roblox For Example Uses VMProtect

  • 1

Exploits I Use: Coco Z, Synapse X

davidTube

not inactive

noticed

Posts: 1849

Threads: 88

Joined: Dec, 2018

Reputation: 56

Replied

just use themida.

 

and yes c++ can be decompiled. it is harder to decompile than c# code but u can still do it

  • 0

Wabz

Winning.js

Posts: 2410

Threads: 194

Joined: Apr, 2020

Reputation: 27

Replied

themida or vmprotect

yes, c++ can be decompiled, but its hard and really not perfect. if we compare it to C#, c# converts it to ILcode and then they just pack it into some executable, and that executable runs the ILcode with .NET Framework (or Core, .NET Framework 4.x is preinstalled on windows 10)

 

so C# is JIT compiled (with .NET implementation at least)

 

ILcode can be decompiled pretty easily.

 

thats why C# code wont run if you dont have .NET Framework, and why it can be decompiled so easily

C++ is natively compiled, you dont need anything to run it (other than the OS, obviously, well theres other ways but yeah...)

 

correct me if im wrong, i dont code much in c# now

 

EDIT: so i found something that might help you understand how c# works (ik its wrong section, but still): https://docs.microsoft.com/en-us/dotnet/csharp/getting-started/introduction-to-the-csharp-language-and-the-net-framework#:~:text=Source%20code%20written%20in%20C%23,dll.

 

https://i.imgur.com/oaQRWdj.png

 

EDIT: Idfc about Mono, which is why i dont mention it

  • 1

My new discord is Wabz#1337 with ID 777154062789509130

Posts: 715

Threads: 30

Joined: Sep, 2020

Reputation: 13

Replied

Thanks so much

  • 0

| Discord (Updated): apppon#8358 | C++ Enthusiast | 

Posts: 870

Threads: 34

Joined: Aug, 2020

Reputation: 6

Replied

@MyUserIsTaken You could add more protection tho

  • 1

Posts: 30

Threads: 0

Joined: Sep, 2020

Reputation: 4

Replied

Yes please don't just use VMP as I believe that it can be somewhat reversed (though it is a complicated process if I am not mistaken).

  • 1

I know more about hardware than software :|

socks on!

windex#1337

Posts: 1

Threads: 0

Joined: Oct, 2020

Reputation: 0

Replied

ILcode can be decompiled pretty easily.

 

thats why C# code wont run if you dont have .NET Framework, and why it can be decompiled so easily

C++ is natively compiled, you dont need anything to run it (other than the OS, obviously, well theres other ways but yeah...)

 

 

correct me if im wrong, i dont code much in c# now

You are right, C# and all other .NET assemblies (VB.NET, F#) are fortunately or unfortunately easily decompileable. They can even be decompiled online: C# Decompiler.

  • 0

Posts: 30

Threads: 0

Joined: Sep, 2020

Reputation: 4

Replied

@25074 Too bad it doesn't have x86 support haha, otherwise I'd use it to reverse some csgo cheats lol

  • 0

Added

@25074 :P cracking cheats brings a lot of rep

 
  • 0

I know more about hardware than software :|

socks on!

windex#1337

Posts: 10

Threads: 0

Joined: Sep, 2020

Reputation: -26

Replied

@TheGuardian226 hey can you wash me

  • 0

i am cute pufferpish please dont bulli mi

Next >>>

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )