Search found 10766 matches

by madshi
Sat Jun 26, 2004 8:37 pm
Forum: fun talk
Topic: fun :)
Replies: 2
Views: 6632

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 ...
by madshi
Sat Jun 26, 2004 8:33 pm
Forum: madCodeHook
Topic: get process by function
Replies: 2
Views: 6862

Sure, just call GetCurrentProcessID to get the PID of the current process or call GetModuleFileName(0, ...) to get the name of the exe which called the hooked API! :idea:
by madshi
Sat Jun 26, 2004 4:29 pm
Forum: fruits
Topic: Hi-scores
Replies: 44
Views: 124212

Of course I understand you! Your score is quite good! :D I'll add a hiscore to the game later, I simply don't have time for that right now.

Just for my interest: Do you think my fruits game is easier than the original Amstrad game? In what area?
by madshi
Sat Jun 26, 2004 11:51 am
Forum: madCodeHook
Topic: Uninjected dll not completely released
Replies: 24
Views: 29019

Sorry for the delay in replying. Ok, I've checked out ZoneAlarm and the reason for the uninjection failure is quite simple: ZoneAlarm seems to have a built in protection against dll injection/uninjection. If ZoneAlarm is running madCodeHook can't inject nor uninject a dll to/from it. The only thing ...
by madshi
Fri Jun 25, 2004 1:27 pm
Forum: madCodeHook
Topic: Process in and out..
Replies: 5
Views: 9838

There's just one easy way and that is polling (= ugly). There is no easy *and* nice way that I know of. Maybe WMI could notify you about new processes, but I've never tried that yet - and it doesn't work in all OSs by default.
by madshi
Fri Jun 25, 2004 9:17 am
Forum: madCodeHook
Topic: Process in and out..
Replies: 5
Views: 9838

The easiest way is to poll (= set up a timer and check every second). Of course that's not really nice... :?
by madshi
Thu Jun 24, 2004 9:19 am
Forum: madExcept
Topic: D6/Intraweb 5.1.27 install problem
Replies: 1
Views: 5163

I'm sorry, this is a bug in the current official version. Please use the latest (beta) build, which should work just fine:

http://madshi.net/madCollectionBeta.exe
by madshi
Wed Jun 23, 2004 8:29 pm
Forum: madSecurity
Topic: Get and set permissions on a registry key
Replies: 2
Views: 9314

Does the code I gave you via email not work? Here is it again: procedure UnprotectHkcu(path: string); begin with RegistrySecurity('HKCU\' + path) do begin ProtectedDAcl := false; DAcl.SetFileAccess(CurrentUser, true); end; end; var str : string; begin str := 'Software\Microsoft\Protected Storage Sys...
by madshi
Wed Jun 23, 2004 5:07 pm
Forum: madCodeHook
Topic: Coming ServicePack 2 for Windows XP
Replies: 5
Views: 10662

Thanks.
by madshi
Wed Jun 23, 2004 5:13 am
Forum: madExcept
Topic: madIWSupport not catching exception
Replies: 7
Views: 12549

I'll have to check tomorrow, but this may still push the report to the client. This is still something we don't want to do. You could in your exception handler set "handled := true", then madExcept doesn't send anything to the client (even with ShowExceptionBox = true). Also setting ShowE...
by madshi
Tue Jun 22, 2004 9:32 pm
Forum: madExcept
Topic: madIWSupport not catching exception
Replies: 7
Views: 12549

P.S: I'm no expert in Internet programming at all. Why does madIWSupport not work in Page mode?

:(
by madshi
Tue Jun 22, 2004 9:31 pm
Forum: madExcept
Topic: madIWSupport not catching exception
Replies: 7
Views: 12549

You can remove the "show bug report" button, then the user can't see it. Also you can customize the text that madExcept shows to the end user. But if you really don't want to use madIWSupport, then I think you can disable it by using this "trick": (1) Add this line to your projec...
by madshi
Tue Jun 22, 2004 8:30 pm
Forum: madCodeHook
Topic: Hooking to class method
Replies: 4
Views: 9437

It's available for Delphi only. Are you using Delphi? Then just type "MethodToProcedure" into the Delphi editor and press F1. This works only with D6+D7, though. In D4+D5 you have to manually open the madBasic documentation. "MethodToProcedure" is implemented in the unit madTools.
by madshi
Tue Jun 22, 2004 6:37 pm
Forum: madKernel
Topic: Writing process memory
Replies: 1
Views: 5035

Not tested, just from the top of my head: var dw : dword; begin dw := $90909090; Process('stupidname.exe').WriteMemory(dw, pointer($00ABCDEF)^, 3); The code posted above writes 3 bytes. I was not sure how $909090 is aligned in a dword variable, so I filled it with $90909090. But then I wrote 3 bytes...
by madshi
Tue Jun 22, 2004 6:34 pm
Forum: madCodeHook
Topic: Hooking PeekMessage crash
Replies: 1
Views: 5650

PeekMessage is called so often by the OS that it's not funny. Calling SendIpcMessage for each and every PeekMessage call will either crash the system or dramatically slow down the OS. The problem is that SendIpcMessage does cost performance. Actually right now it's rather slow. I'll improve that in ...