You can sniff a packet, modify it, and re-send it using libtins. The only issue is dropping the original one so the receiver doesn't get two packets. This could be done via iptables rules, I'm sure there has to be some article describing how to do it.
You can sniff a packet, modify it, and re-send it using libtins. The only issue is dropping the original one so the receiver doesn't get two packets. This could be done via iptables rules, I'm sure there has to be some article describing how to do it.
Originally posted by @mfontanini in https://github.com/mfontanini/libtins/issues/61#issuecomment-78735325