i want to know more about man in the middle attack. And for that i want to try (no worry, its only for educatinnal purposes). What i want do is the following. I'll start a chat program (written in Java) on the of my cpu at home. What i want to do is to intercept one message (ex : cpu1 sends hello to cpu2 via the chat program) and to change the content of the message so that cpu2 receive the message "bye" for example.
I've read a bit on this and i think all of this is called tcp hijacking but i can't find the right tool to do what i want to do.
Thanks for suggestion and help
have a nice day