Tuesday, 3 January 2012

Splitting the strings in a crack me.

So i was trying to find a way to hide the strings in a Crack Me application, this is quite difficult when your trying to stick to no encryption and trying to keep it simple for beginners so what did i do?

To avoid debuggers like OllyDbg i split all of my noticeable strings into arrays and reconstructed when needed, here is the example i used.
_____________________
Code
----------------------------

string pass[7] = {"pa","s","s","w","o","r","d"};
string together = pass[0] + pass[1] + pass[2] + pass[3] + pass[4] + pass[5] + pass[6];
cout << together;

---------------------------


As you see in a debugger the text is split and so harder to find where the pass is hidden. Still fairly easy to crack but harder for any new commers, which is exactly what i needed it for.

Hey & welcome

Hello everyone, and welcome to C++ Column. Basically my goal here is to create a fresh new feed on C++ codes experiences and get some conversations going on your thoughts on a given topic. So don't be afraid to hold back.