Search found 10766 matches

by madshi
Thu Jul 01, 2004 3:17 pm
Forum: madExcept
Topic: Register my own Exceptionhandler
Replies: 5
Views: 9616

Re: Exe mit Laufzeitpackages

Bin durch ausprobieren auf folgende Lösung gekommen: Compiliere ich die MadExcept DCUs ins Exe direkt mit rein, dann scheint alles zu funktionieren. Nehme ich "MadExcept_" in die Liste der Laufzeitpackages des EXEs auf, dann hängt sich MadExcept offenbar nicht in die Fehlerbehandlung ein....
by madshi
Thu Jul 01, 2004 1:38 pm
Forum: madCodeHook
Topic: Bug in MCH? CreateProcess hook problem under Win NT 4
Replies: 5
Views: 8068

I guess it's a problem with the HookProcessCreation.dll. But I'll check it.
by madshi
Thu Jul 01, 2004 1:37 pm
Forum: madCodeHook
Topic: SetWindowLong
Replies: 2
Views: 7094

Well, before going remote you should always test the stuff in your own process. You would have noticed that your code won't run there, either. You have at least one big bug in the code, which is that your NewWndProc needs to be "stdcall".
by madshi
Thu Jul 01, 2004 1:34 pm
Forum: madRemote
Topic: A few Nooberish Questions...
Replies: 16
Views: 46811

I've not that much knowledge about winSock functions. So listen to nildo there. Generally: You can remote execute *any* code, as long as you follow the rules. The most important ones are: No usage of global variables/constants (that includes global string constants!). No calls to any functions/APIs ...
by madshi
Wed Jun 30, 2004 2:52 pm
Forum: madExcept
Topic: Register my own Exceptionhandler
Replies: 5
Views: 9616

madExcept muß sich in das Rtl70.bpl und Vcl70.bpl einklinken. Damit sind dann automatisch alle Module (exe + bpls), die auch Rtl70.bpl und Vcl70.bpl benutzen, von madExcept erfaßt. Allerdings werden Exceptions in Modulen, die nicht Rtl70.bpl und Vcl70.bpl benutzen, nicht automatisch von madExcept er...
by madshi
Wed Jun 30, 2004 10:55 am
Forum: madCodeHook
Topic: Restoring VirtualProtection status?
Replies: 1
Views: 5088

If the code was write protected madCodeHook unprotects the code, patches it and then sets the page attribute back to PAGE_EXECUTE_READ. However, the GUARD stuff is ignored right now. I never met a guarded page yet! Do you have an example where madCodeHook is supposed to write to a guarded page?
by madshi
Wed Jun 30, 2004 6:44 am
Forum: madCodeHook
Topic: Share configuration between DLLs
Replies: 7
Views: 14028

:D

I'm glad if you help here, cause that saves me time!
by madshi
Tue Jun 29, 2004 7:24 pm
Forum: madCodeHook
Topic: Share configuration between DLLs
Replies: 7
Views: 14028

Hey, I think I can stop giving advices here. nildo is doing it just fine... :D Just some comments: (1) Using madCodeHook.Create/OpenGlobalFileMapping is recommend, because those functions work over the boundaries of XP fast user switching sessions. (2) mutantc0der, first you ask how you can send con...
by madshi
Tue Jun 29, 2004 7:19 pm
Forum: madExcept
Topic: Register my own Exceptionhandler
Replies: 5
Views: 9616

If you want madExcept to catch exceptions in a exe + runtime bpl environment, you need to integrate madExcept into the exe project. You can do so by loading your exe project in Delphi, then in the project menu in the madExcept settings for your project by checking the option "handle exceptions&...
by madshi
Tue Jun 29, 2004 5:54 pm
Forum: madCodeHook
Topic: Uninjected dll not completely released
Replies: 24
Views: 29270

But you will then be unable to uninject the dll, due to the built-in protection against uninjecting. Well, you can kind of work around it. Your dll can during initialization check whether you're running inside of ZoneAlarm. If you do, just let DllEntryPoint fail (in Delphi by setting ExitCode to so...
by madshi
Mon Jun 28, 2004 7:03 pm
Forum: madCodeHook
Topic: Hook when any file is closed
Replies: 4
Views: 7762

When hooking APIs like CreateFile + CloseHandle system wide you have to very careful with what you do. Performance might be a problem, if your hook callback functions do too much work. The hook itself should not be a problem, though. Please make sure that you follow all hooking rules (see madCodeHoo...
by madshi
Mon Jun 28, 2004 5:41 pm
Forum: madCodeHook
Topic: Process in and out..
Replies: 5
Views: 9868

Windows Management Instrumentation
by madshi
Sun Jun 27, 2004 9:38 am
Forum: madCodeHook
Topic: DLL and VBScript execution hooking
Replies: 10
Views: 11452

OK that's a good hint. But how do I find that a dll is NOT in use anymore? In that case it could be replaced (without tricks like renaming) by just overwriting! We would have to delete the entry from the cache as soon as the file is not in use anymore. Hmmm... Wouldn't ReadDirectoryChangesW also re...
by madshi
Sun Jun 27, 2004 9:05 am
Forum: fruits
Topic: Hi-scores
Replies: 44
Views: 124872

I think that the level of difficulty on every of levels is good. The game is not easy... My family Hi-score: Mum ~10000, Dad ~25000, Girlfriend ~5000 :D Heh, isn't your girlfriend ashamed that your mother has a better hiscore than her? :oops: We are older now and we use the computer better then sev...
by madshi
Sat Jun 26, 2004 8:44 pm
Forum: madCodeHook
Topic: DLL and VBScript execution hooking
Replies: 10
Views: 11452

The problem with the "in use" approach is that in the NT family you can rename files which are in use. So you can't say that a file which is in use can't be replaced. You can rename it from e.g. "notepad.exe" to "killme.exe" and then create a new "notepad.exe"...