sudo tcpdump -vv port 3306 and '(tcp-syn|tcp-ack)!=0' -nnttttA
更方便展示的抓包语句
sudo tcpdump -l -s 0 -w - dst port 3306 | stdbuf -o0 strings | stdbuf -o0 grep "SELECT\|INSERT\|UPDATE\|FROM\|WHERE\|ORDER\|AND\|LIMIT\|SET\|COMMIT\|ROLLBACK"
sudo tcpdump -vv port 3306 and '(tcp-syn|tcp-ack)!=0' -nnttttA
更方便展示的抓包语句
sudo tcpdump -l -s 0 -w - dst port 3306 | stdbuf -o0 strings | stdbuf -o0 grep "SELECT\|INSERT\|UPDATE\|FROM\|WHERE\|ORDER\|AND\|LIMIT\|SET\|COMMIT\|ROLLBACK"