So basically, i want to create process with subprocess module, i also want to take control of packets.
What i mean ?
Consider this code.
import socket
client = socket.socket()
client.connect((..., ...))
client.send("e".encode())
client.close()
(Pretend that filename is client.py)
What i want to do here, is i want to make another python file, run client.py with subprocess module, and i want to listen in the parent process what packets it is being sent, and i want to modify them, basically tamper child process socket's packet, if that is ever possible.