You can't inject code in the server using a packet, you know that right ?
This isn't how things work
Packet editing allows you to change SOME things, not all of them.
If the server has any security checks, you can't do anything. Let's take the exemple of this guy who said you could use GM commands via packet editing.
You send a packet that would be the same as a GM sending a command.
The server checks who send the packet. Oh guess what, it's not a GM. Packet ignored