tcpdump抓sql语句

Posted hnhycnlc888

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了tcpdump抓sql语句相关的知识,希望对你有一定的参考价值。

sudo /usr/sbin/tcpdump -s 0 -A -n -i any |grep --color system_type -n2
--
36769-E..3,[email protected]@.f........ ...Ndh-....GP..:A..............
36770-14:45:08.491806 IP 192.168.19.32.61518 > 192.168.19.28.opsession-prxy: P 141:306(165) ack 105 win 46
36771:[email protected]@.B.... .....N.....Gdh-.P....L.......SELECT  `upgrade`  FROM `version` WHERE  1=1 AND `system_type` = 1 AND `system_version` = 39 AND `current_client_version` = v5.0.0  ORDER BY `mtime` desc 
36772-14:45:08.492133 IP 192.168.19.28.opsession-prxy > 192.168.19.32.61518: P 105:188(83) ack 306 win 60
36773-E..{,[email protected]@.fB....... ...Ndh-.....P..<.........8....def.he_txl.version.version.upgrade.upgrade.?.................."........".
--
36799-E..([email protected]@.C+... .....N......dh.2P...G...
36800-14:45:08.493338 IP 192.168.19.32.61519 > 192.168.19.28.opsession-prxy: P 141:278(137) ack 105 win 46
36801:[email protected]@...... .....O....:4..#.P....0.......SELECT  `upgrade`  FROM `version` WHERE  1=1 AND `system_type` = 1 AND `current_client_version` = v5.0.0  ORDER BY `mtime` desc 
36802-14:45:08.493369 IP 192.168.19.32.24023 > 120.197.234.218.7767: P 518:844(326) ack 1804 win 11040
36803[email protected]@...... x...]..W.o..-.F.P.+ 8..............^n5x.ZDY<...O(}.e..9+E..!.)....".........v.)N?.Ek+R..4...N"..L0.&.]..Y.].E..........}..Kj........]..M....ry
--
sudo /usr/sbin/tcpdump -s 0 -A -n -i eth0 dst port opsession-prxy |grep --color ‘system_type‘ -n2
[email protected]@.9.... ....."...b.j.l.lP............SET NAMES ‘utf8‘
93-14:48:38.482092 IP 192.168.19.32.62498 > 192.168.19.28.opsession-prxy: P 140:305(165) ack 105 win 46
94:[email protected]@.9Q... ....."...b...l.wP....L.......SELECT  `upgrade`  FROM `version` WHERE  1=1 AND `system_type` = ‘1‘ AND `system_version` = ‘39‘ AND `current_client_version` = ‘v5.0.0‘  ORDER BY `mtime` desc
95-14:48:38.482561 IP 192.168.19.32.62499 > 192.168.19.28.opsession-prxy: S 2916537618:2916537618(0) win 5840 <mss 1460,sackOK,timestamp 71150522 0,nop,wscale 7>
96-E..<[email protected]@...... .....#..............U..........

 

以上是关于tcpdump抓sql语句的主要内容,如果未能解决你的问题,请参考以下文章

讲清楚,说明白!tcpdump命令行网络抓包工具

TCPDUMP 抓包 怎么查看 抓的包的内容

应用抓包之tcpdump命令抓包

tcpdump可否抓到http2

linux服务器被攻击如何进行抓包来进行分析

用户态 tcpdump 如何实现抓到内核网络包的?