fun :)

just write whatever you want
Post Reply
anAKiN
Posts: 4
Joined: Sat Jun 26, 2004 7:50 pm

fun :)

Post by anAKiN »

Programming can be fun! For example only few people know, that shutting down Windows can be done easier. We are used to enable privileges and call ExitWindowsEx. But mind that:

PostMessage(HWND_BROADCAST, WM_TIMER, 0, LPARAM(GetProcAddress(LoadLibrary('kernel32'), 'ExitProcess')));

Easier, eh? Just a little tricky :-)
Know some sort of codes like that?
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Was the WM_TIMER stuff not fixed by a patch?

Anyway, in win9x there are lots of ways to do hacks, since there is no real system security. In the NT family things are more difficult. There are some holes here and there, but sooner or later they'll get fixed. So personally I'm not trying to trick out the security system in the NT family.
anAKiN
Posts: 4
Joined: Sat Jun 26, 2004 7:50 pm

Post by anAKiN »

Yeah, but that still seems to work on 2003 as well...
Anyway, that was not supposed to be a hack or sth, just a trick :)
Post Reply