yes exactly , that what i cant understand...as u can see if i try to replace/rename the dll it is still in memory ....also you can see the gui still running and no expel from server means my process is undetected, maybe they have some new trick ?
lol same problem ^^
thanks meak1 (:
meak1 please help,cant understand ):
how it will work ? you mean to place the jump after 5 byte of real jump ?
int Naked MySendDetour(SOCKET s,char *buf, int len, int flags){
_asm{
SUB ESP, 0x10
PUSH ESI
PUSH EDI
}
MySendResult(buf);
_asm{
jmp addressbackSend
}
}
Intercept(INST_JMP, (DWORD)send+0x05,(DWORD)MySendDetour,5);
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
hhhhh
haha
Code:
Applications should call FlushInstructionCache if they generate or modify code in memory. The CPU cannot detect the change, and may execute the old code it cached
also need to save registers...using push/pop/ad/fd
Thx Staviko, actually my problem was that i wrote +"0x10" istead of +"0xA".
"also need to save registers...using push/pop/ad/fd" - possibly too hard for me as i know nothing about assembler at all ^^
Basically you save the current state of the code before the client executes your hook and restore it afterwards. This is required to prevent corrupted states after calling your hook.
Hooked recv(Winsock) problem 11/26/2013 - C/C++ - 9 Replies Hi!
Ich habe die send&recv function von Winsock gehooked (von einem Spiel).
Das Problem aber ist irgendwie die recv Funktion und zwar liefert sie mir falsche Werte bzw. "unmögliche" Werte. Verglichen mit WPE Pro liefert WPE Pro die richtigen Werte.
Siehe Screens: (Achtets aufs Recv)
Mein Sniffer:
http://i.epvpimg.com/5TpRc.png
WPE Pro:
recv/send int kal 06/01/2012 - Kal Online - 9 Replies Does anyone have a working recv/send for int today?
[Recv] Send Self 10/31/2011 - Nostale - 4 Replies Ich wollte fragen ob hier noch irgendwer erfahrungen in ASM hat.
Suche nämlich die Sendself Funktion aber weiß ned wie ich weiter suchen soll habs schon rückwerts über die Sockte Funktionen versucht aber kein wirklicher Erfolg.
Brauche die Send Self Funktion um nach Sendpackets zu suchen.
Falls mir wer Helfen kann aber ned offen osten will geht auch per PN.
Send Recv 08/18/2009 - Kal Online - 0 Replies Hey;)
I start checking this code http://www.elitepvpers.com/forum/kal-hacks-bots-che ats-exploits/189618-release-kalhackzz-v0-3-v0-4-so urces.html but i cant still send a packet of move just to see my player moving.Maybe this code is obsolete i dont know if there are better send and rev codes just tell me
When dll process attach happens i call my function _beginthread(f,0,NULL);
void f(void* start_parameter){
Console(); //Get the console
printf("DLL loaded");
[Question] Hooking send() & recv() works, but recv hiding data for co??? 05/06/2009 - CO2 Programming - 2 Replies Hey guys, I've been making a DLL to allow another program to intercept the packets of conquer using windows pipes. (Then its the job of the main program to decrypt the packets, the DLL only gives a communication channel for the main program)
(winsock functions btw)
- hooking send() works fine for my internet browser
- hooking recv() works fine for my internet browser
- hooking send() works fine for conquer online