Finding SQL query in TCP stream

Just a little one to remember, as I use this occasionally, with this tcpdump you can read SQL queries, rsh commands etc:

tcpdump -i en0 -s 0 -l -w - dst port 3306 | strings

 

This entry was posted in AIX, Linux and tagged , , , , . Bookmark the permalink.

Leave a Reply