I think (based on searching the forums), that NetCat is the best option, but wanted to hear if others are preferable.
Anyone have good success with a packet-crafting tool (specifically on Mac)? I've tried HPing, but had some issues. I'm looking into NetCat ('nc' on mac) now, but it's not working as I had thought. Basically, I captured some packets that a remote control sends over a wifi network to turn lights on and off (using X10 controllers), and am looking for a way to replay them by crafting a TCP packet from the command line.
I used Wireshark to sniff the traffic, so I know the package is: DEVICE -sendplc-"C4 DIM 10"
I'm trying: echo 'DEVICE -sendplc-"C4 DIM 10"' > nc 192.168.2.196 6003 but there's no response from the receiving system.
The exact bytestream is (if anyone wants to check that I got the right dataframe): 08004642f1b400260897ad6308004500004b08e240004006aaf5c0a802c1c0a802c4d8d7177399aab39 e57ff4753801880ae37ea00000101080a323353ce01b406424445564943457e73656e64706c637e2243 34204f4e220a
Next step I'm going to check is to make sure the packet arrives exactly by sniffing and compare it to the original.