3 ms·
"Read all that machine code" - I think you highly overestimate the difficulty of that. Take a simple checking function. Check the code, if it is wrong, show a
by MichaelGG 14y ago
"Read all that machine code" - I think you highly overestimate the difficulty of that.
Take a simple checking function. Check the code, if it is wrong, show a message box saying "wrong code". Well, in that case, all you gotta do is set a breakpoint and go back. Programs like OllyDbg or IDA Pro make this kind of reverse engineering absolutely trivial, and something you can accomplish after "reading a basic text".
Most likely if someone's going to "run a program", they can run a crack, too. If you can get away with a license file, then you can do RSA properly. Otherwise, end up with short RSA and hope no one really looks.
It's almost certainly the case that you're far better off improving some other aspect of your application than investing any time trying to defend against pirates.
- philbarr 14y agoThanks for the pointers to OllyDbg and IDA Pro - I'd never heard of them. Embarassingly, it's been quite a few years since I tried actually hacking a program; especially since I'm posting on "Hacker News".
- MichaelGG 14y agoHere's a tutorial I wrote in 2004 which is still a decent start these days. If anything, it's easier these days, because IDA Pro has HexRays which can decompile code into C and makes it very easy to navigate a compiled module. http://www.atrevido.net/blog/PermaLink.aspx?guid=ec99e239-8917-48e3-bd4f-af866b730150 http://www.atrevido.net/blog/PermaLink.aspx?guid=ec99e239-89...