Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Stop/block send packet after ws2_32.send called

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
spyware293
Newbie cheater
Reputation: 0

Joined: 28 Jun 2012
Posts: 13

PostPosted: Thu May 04, 2017 6:14 pm    Post subject: Stop/block send packet after ws2_32.send called Reply with quote

How do i stop packet being sent at this point (without dropping the entire connection)
Code:

00717F96  |. 6A 00          |PUSH 0                                  ; /Flags = 0

00717F98  |. 52             |PUSH EDX                                ; |DataSize

00717F99  |. 51             |PUSH ECX                                ; |Data

00717F9A  |. FF76 04        |PUSH DWORD PTR DS:[ESI+4]               ; |Socket

00717F9D  |. FF15 24B4AD00  |CALL DWORD PTR DS:[ADB424]              ; \ws2_32.send  << EIP here (breakpoint)

Tried to empty the packet buffer, modify the socket handle. nothing works[/quote]
Back to top
View user's profile Send private message Yahoo Messenger
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Fri May 05, 2017 2:28 pm    Post subject: Reply with quote

You'd be better off hooking the API and just ignoring the send when needed making the function just return valid as if it worked fine. Trying to just set a breakpoint and mod the params is going to usually land up with you sending a null packet or the socket just being dropped on the remote end.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites