• Welcome to Valhalla Legends Archive.
 

Hooking winsock in VB?

Started by k0ld phuzi0n, January 22, 2003, 06:09 PM

Previous topic - Next topic

k0ld phuzi0n

Anyone know if there exists an VB project that hooks winsock?  So that you can read datapackets from a game?/

I just want to be able to see the games incoming data so i can create an assistant progrma based on the protocol.  Also.. proxying wont work.  Ive done it for quite a few games, but some wont let you edi them enough to proxy the connection.

Adron

#1
QuoteAnyone know if there exists an VB project that hooks winsock?  So that you can read datapackets from a game?/

I just want to be able to see the games incoming data so i can create an assistant progrma based on the protocol.  Also.. proxying wont work.  Ive done it for quite a few games, but some wont let you edi them enough to proxy the connection.

Yes. Such project exists. There's probably more than one, but I know there is at least one because I started on one. It needs porting to a few more operating systems though.




n0nphyxi0n

#2
Can I see this source anywhere bychance?  Can I chat with your somehow to try to learn how to do this?

Adron

#3
QuoteCan I see this source anywhere bychance?  Can I chat with your somehow to try to learn how to do this?

It's not on a web page as far as I can remember. What operating system do you want it to run on? It uses a dll written in msvc++, so to port it to more operating systems than it already runs on you'd have to know some c++.

You can try looking for me in the channel some time. Remember to state your business, don't just pop in and get banned.


Banana fanna fo fanna

#4
I'm working on that project, but it's in C. I might be able to write a DLL, callable from windows, but that's unlikely, because I'm using TONS of pointers, hehe.

Skywing

#5
QuoteI'm working on that project, but it's in C. I might be able to write a DLL, callable from windows, but that's unlikely, because I'm using TONS of pointers, hehe.
Huh?  How's using pointers make a DLL unusable in Windows?

Banana fanna fo fanna

#6
Bah, typo

windows = vb

Noodlez

#7
pointers in DLLs and vb get along fine if you know how to use them.

Banana fanna fo fanna

#8
Noodlez, you've never experienced the true pointer then ;)

n00blar

Storm, noodlez is correct and you are wrong, sadly said.  However, visual basic does use the windows api.. last time I checked there were a few functions that help in that area =p

Banana fanna fo fanna

#10
It has _references_, which are kind-of-sort-of pointers, unless you use those odd ObjPtr and AddressOf keywords that, if you're using them, you might as well switch languages, as you're going outside of VB's realm.

Of course VB uses the windows api.

Adron

#11
I just decided to give you a chance to try and see if the hook project i made would work for you.

Files:

WSHook.dll
Winsockhook.ocx
WinsockhookSamples.zip

It's 3.5 years old, so don't expect me to remember anything about how they work...


Noodlez

#12
adron that works perfect, i use it all the time :)

thanks for it btw

Banana fanna fo fanna

Argh adron, I wanted to do it myself!

Psst...what DLL should I hook? heh.

Adron

#14
Quoteadron that works perfect, i use it all the time :)

thanks for it btw

What OS are you using it with? Tried any that didn't work?

Feels good to know it's appreciated too :)