network data capturing through sockets
-
hi all i want to know that how to capture the data passed through the network and modify its contents,suppose i had client and server and they communicate each other through sockets, i want to get the messages passed between these clients and server by my app running on those computers, i mean when they pass each other "hello" i want to capture the full message and then modify that message and then pass something else like "how".i search on the internet and found packets sniffers but i think they will capture packets not full text. in short i want to get data and modify data and then send again.
Tasleem Arif
-
hi all i want to know that how to capture the data passed through the network and modify its contents,suppose i had client and server and they communicate each other through sockets, i want to get the messages passed between these clients and server by my app running on those computers, i mean when they pass each other "hello" i want to capture the full message and then modify that message and then pass something else like "how".i search on the internet and found packets sniffers but i think they will capture packets not full text. in short i want to get data and modify data and then send again.
Tasleem Arif
-
Actually most packet sniffers that I've used (on Linux) also compiles the frames. Thus producing the packet content. Try Ethereal. That should cover your needs. Cheers, TylerD75
-
Ehh... sorry, forgot that you needed to modify the frame content as well. That might be a bit harder, even with ethereal... ;) TylerD75