I used Scapy library and make a TCP packet injector.