Windows Vista users please read
Miscellaneous Forums/General Discussion/Windows Vista users please read
Hello guys.
im currently rewriting some anti crack code and it would help if you could test the following example.
it should popup a message telling you what system its running on, this example uses inline asm and is wrote using bmx i now it functions correct under all os from win9x to winxp but was wrote before win vista hence the reason for this test.
grab it here
http://www.winblitz3d.co.uk/ac.zipthanks for testing
kev
On Vista it says it's Windows NT or Windows 2000.
Just a note, it says my system at work is a "Windows NT or Windows 2K System" but its XP Pro.
I would do the checking on what system you are like this:
1) Use the conditional compiling for Windows, Linux, Mac.
2) On Windows, do a "ver" command and check the output.
3) On Linux and MacOS X, do a "cat /proc/version" (or just read the text file /proc/version directly).
that cool and its reporting correctly. ive just updated the example that will now detect if the example is run using a debugger, this works fine here under winxp pro.
win vista guys if you have access to a realtime debugger ie. ollydebug ect.. please run without the debugger then again with.
same download location above.
@Lumooja, the winos detection is only less than 10 bytes, hence is cleaner and faster.
kev
I've put code in the code archives that checks for the OS version. Needs work if you want to know about service packs (I didn't need that bit so I didn't do it), but it works fine - even on Vista.
GfK ive not looked but does it use standard winapi calls to obtain os version info? the reason i want to avoid api calls its that a hacker could easy set a breakpoint on it then easy access the anti crack code that follows, using the asm to check os it somewhat better and less known.
kev
"WindowsNT or Windows2K"
It's actually XP Home.
to clear this message box up, differnt anti-crack code is required under win9x than that under winnt&win2k&winxp&vista. so when you get a message saying "WindowsNT or Windows2K" this means that anti-crack code for that os option(winnt&win2k&winxp&vista) will be used.
make sence? any way ive modifyed the example to add windowsxp :)
kev