tcpdump抓取mysql语句

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/reblue520/article/details/80553397
抓包工具tcpdump的使用,抓取具体的sql语句
[root@test7_chat_api_im ~]# tcpdump -s 0 -l -w - dst 106.75.74.38 and port 3306 |strings
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes

SELECT refresh FROM tbl_device where device = 'H0001'K

SELECT refresh FROM tbl_device where device = 'A0001'K
jKJ&
call sp_get_log_db_rs('OC')K
call sp_get_log_db_rs('OK')K
jKJ&
SELECT refresh FROM tbl_device where device = 'B0001'K
1e{"server":"106.75.74.38","port":3306,"dbname":"yunva-log","user":"root","pwd":"pass"}

 

展开阅读全文
博主设置当前文章不允许评论。

没有更多推荐了,返回首页