I am trying to capture mysql traffic using tcpdump and converting it to text using
strings
command, but while capturing mysql traffic, I am getting some extra character at the end of each character. I am unable to figure out the reason.
e.g.
CREATE TABLE foo1.foo (id INTEGER, name VARCHAR(20))H>
As you can see, there is H>
at the end of query.
Can someone help me in solving this.
**Edit:** I am running the following command to capture the traffic.
$ sudo tcpdump -i any -s 0 -l -w - dst port 3306 | stdbuf -i0 -o0 -e0 strings -12
Asked by pradeepchhetri
(10147 rep)
Jul 29, 2013, 11:43 AM
Last activity: Apr 8, 2024, 09:39 AM
Last activity: Apr 8, 2024, 09:39 AM