Autor Beitrag
panga
Hält's aus hier
Beiträge: 3



BeitragVerfasst: Fr 16.06.06 15:24 
Sorry, but i have problems when hook winsock in target game (it crashes).

I used self inject example of uall.

EDIT:

I got working.


Zuletzt bearbeitet von panga am Fr 16.06.06 23:14, insgesamt 1-mal bearbeitet
uall@ogc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1826
Erhaltene Danke: 11

Win 2000 & VMware
Delphi 3 Prof, Delphi 7 Prof
BeitragVerfasst: Fr 16.06.06 18:53 
I have updated the Collection. Download it again from uall.overclock.ch/uallCollection . Maybe this works now.

_________________
wer andern eine grube gräbt hat ein grubengrabgerät
- oder einfach zu viel zeit
panga Threadstarter
Hält's aus hier
Beiträge: 3



BeitragVerfasst: Fr 16.06.06 20:46 
user profile iconuall@ogc hat folgendes geschrieben:
I have updated the Collection. Download it again from uall.overclock.ch/uallCollection . Maybe this works now.


Thx uall!

:)

Kisses.

EDIT:

uallHook unit have a error when compile.
in line 285, procedure InjectMeParam, uallHook.pas.
Not enough actual parameters.

Fix:

Change
ausblenden Delphi-Quelltext
1:
2:
3:
4:
  ChangeReloc(Pointer(INH^.OptionalHeader.ImageBase),
              pAll,
              Pointer(DWord(pAll)+INH^.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_BASERELOC].VirtualAddress),
              pTargetMem);

To
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
  ChangeReloc(Pointer(INH^.OptionalHeader.ImageBase),
              pAll,
              Pointer(DWord(pAll)+INH^.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_BASERELOC].VirtualAddress),
              pTargetMem,
              INH^.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_BASERELOC].Size);


PS: Now winsock hook is working. (No crash!)
Moderiert von user profile iconjasocul: Changed code-tags to Delphi-tags
panga Threadstarter
Hält's aus hier
Beiträge: 3



BeitragVerfasst: Sa 17.06.06 02:34 
I've a little problem...

I need send data to my hooked game.
(send DATA to my thread injected in target game)

what i need use?

IPC,SendMessage,Memory... :S
0xCC
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 150



BeitragVerfasst: Sa 17.06.06 03:01 
use a named pipe or mmf as both can be achieved by using only kernel32 exports
uall@ogc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1826
Erhaltene Danke: 11

Win 2000 & VMware
Delphi 3 Prof, Delphi 7 Prof
BeitragVerfasst: Sa 17.06.06 09:46 
1) Ive updated the other files, too. And ChangeReloc got another Param, becaused it didnt work with ntosknrl.exe
You can see the difference between ChangeReloc and ChangeRelocOld.

2) Have a look at the TrafficCounter example. It has IPC with SendMessage. But you can use every IPC method like MMF or named pipes etc.

_________________
wer andern eine grube gräbt hat ein grubengrabgerät
- oder einfach zu viel zeit