安装
rpm -ivh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install ngrep
抓包(端口3306)
ngrep -W byline -d eth0 port 3306 (ech0为网卡)
ngrep -t '^(GET|POST)' 'src host 192.168.1.100 and dst port 3306' 过虑抓包
本文详细介绍了如何在Linux系统上安装EPel仓库和Ngrep工具,通过具体的命令示例,指导读者完成软件包的安装。此外,还提供了使用Ngrep进行网络抓包的实践操作,包括指定端口和过滤条件,帮助读者有效监测特定网络流量。
安装
rpm -ivh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install ngrep
抓包(端口3306)
ngrep -W byline -d eth0 port 3306 (ech0为网卡)
ngrep -t '^(GET|POST)' 'src host 192.168.1.100 and dst port 3306' 过虑抓包
8916
4027

被折叠的 条评论
为什么被折叠?