PDA

View Full Version : .NET Gotta love it!


SiGiNT
09-15-2007, 03:37 PM
It doesn't get any better than this -

.method public static int32 CheckForDemo() // CODE XREF: DemoModep
// DemoMode+21p ...
{
.locals init (int32 V0)
ldc.i4.m1
stloc.0
call bool XXXXXXXXX.Security::blnReadLicenseFile()
brfalse.s loc_4251B
br.s loc_42530

loc_4251B: // CODE XREF: CheckForDemo+7j
ldsfld unsigned int8[] XXXXXXXXX.Security::mstrRegUnlockCode
ldsfld unsigned int8[] XXXXXXXXX.Security::mstrRegUnlockKey
call bool XXXXXX.Security::blnCodeChecksOut(unsigned int8[] mstrUnlockCode, unsigned int8[] mstrUnlockKey)
brfalse.s loc_4252E
br.s loc_42530

SiGiNT

LLXX
09-15-2007, 11:47 PM
Well, .NET has been referred to as a "compiled scripting language" like Java and the rest of the ENTERPRISE QUALITY pseudo-"programming" languages.

CluelessNoob
09-16-2007, 12:23 AM
And even when it not that easy, .NET still makes it much easier.

I had an app that used a server + my external IP lookup for the good guy test, but the code was smart enough to not be fooled by a simple patch.

I ended up creating a phony website to serve just enough data to the app thanks to the extreme readability of .NET "executables".


blurcode
09-16-2007, 04:12 AM
I always say to myself "free code" when i find a .NET application...