Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 21:04

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



WSAsend/WSABUF

Discussion on WSAsend/WSABUF within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2007
Posts: 38
Received Thanks: 5
WSAsend/WSABUF

hiho =)

i'm reversing a mmo which uses WSAsend to send it's packets

as you can see the parameter lpBuffers [in] holds the adress to an array of WSABUF structs

..which contains length and data

i'm trying to read the data of wsabuf -> but this differs from my parallel collected packet in WPE ->only the size of the packet is correct, the rest is rubbish =/

so my question: how would the WSABUF struct look in the memory dump?
<4byte.size><xbyte.data> <- thats what i thougt

pls have a look and help me ->


greetz d0m
oggs is offline  
Old 08/14/2009, 17:00   #2
 
12354's Avatar
 
elite*gold: 0
Join Date: Apr 2007
Posts: 943
Received Thanks: 132
Quote:
typedef struct __WSABUF {
u_long len;
char FAR *buf;
}WSABUF, *LPWSABUF;
It's
(4 Byte) Lenght ;(4 Byte) Pointer to the buffer



12354 is offline  
Old 08/14/2009, 17:06   #3
 
elite*gold: 0
Join Date: Dec 2007
Posts: 38
Received Thanks: 5

LowL i'm stupid
ty =)
oggs is offline  
Reply




All times are GMT +2. The time now is 21:04.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.