1 | initial version |
This could work if the TV in question will accept the same packet without variation. Commands will sometimes have something like a time-sensitive value to protect against replays and spurious retransmissions. IoT devices don't include these controls as often as they should though!
If the same packet is acceptable, this can be done like a replay attack. You could use a tool like tcpreplay to replay from a pcap (doesn't support pcapng, unfortunately). You can isolate the packet and save in pcap format to use with tcpreplay.