Hey, I want to make a program that can intercept packets your client receives from the server and modify a specific packet to something you want your client to receive. For example, if the packet I want the program to modify contains the string of hex (I'm not quite sure what its called) "10 15 1B 32" and I want to modify it to "10 15 1D 35" how exactly would this be done? A basic source code of this happening would be REALLY helpful, if no one's not bored enough to write one for me can anyone at least link me sites or threads or anything that can help me achieve this? Thanks.

By the way, how much harder would it be to get the packet editor to find and modify a specific packet that changes a little each time you receive it? For example, the packet can contain the bytes "AA AC AC AA" one time then contain "BB AC AC BB" the next time. I want it to find the packet containing the "AC AC" between the 2 bytes that always change and modify it