This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Capture data and modify before transfer (local)

0

Capture data and modify before transfer (local), I have a PC running a software that transfer data to one PLC, that application had some bugs that I would like to filter and avoid transfer wrong data to the PLC, here is an example: ^XA ^[email protected],80,20,B:CYRI_UB.FNT^FO90,80^FDManufacturing Plant^FS ^FO200,400^BY3^BCN,100,Y,N,N^FDDANIEL^FS ^FO350,190^BXN,10,200^FDDANIEL^FS ^FO50,35^GB800,540,4^FS ^XZ

I wanto to filter and transfer as follow

^XA ^FO200,400^BY3^BCN,100,Y,N,N^FDARTURO^FS ^FO350,190^BXN,10,200^FDJUAN^FS ^FO50,35^GB800,540,4^FS ^XZ

Wireshark can do it? is like a data filter

asked 01 Feb '13, 10:29

ing_israel's gravatar image

ing_israel
11113
accept rate: 0%

how do you 'transfer' the data to the PLC?

(01 Feb '13, 11:20) Kurt Knochner ♦

One Answer:

1

No. Wireshark can record network packets, but not modify them or any part of the content transported inside of them. What you need is some sort of filtering proxy mechanism, not a network analysis tool.

answered 01 Feb '13, 10:34

Jasper's gravatar image

Jasper ♦♦
23.8k551284
accept rate: 18%