如下图所示,EVE-NG 或 PNET 抓包时会报这个错误
![解决EVE-NG 或 PNET 抓包报End of file on pipe magic during open. 解决EVE-NG 或 PNET 抓包报End of file on pipe magic during open.](https://gcsee.com/wp-content/uploads/2024/07/image.png)
开始以为是因为我的wireshark 安装目录有问题,然后重装到默认目录,还是不行。
解决方法如下:
- 首先,确认你的wireshark 的启协bat 中配置的用户名和密码是你模拟器的root用户密码。wireshark的指向正确,指向不正确的话,会直接黑屏一闪而过。 wireshark 启动的bat文件路径如下:
![解决EVE-NG 或 PNET 抓包报End of file on pipe magic during open. 解决EVE-NG 或 PNET 抓包报End of file on pipe magic during open.](https://gcsee.com/wp-content/uploads/2024/07/image-1.png)
![解决EVE-NG 或 PNET 抓包报End of file on pipe magic during open. 解决EVE-NG 或 PNET 抓包报End of file on pipe magic during open.](https://gcsee.com/wp-content/uploads/2024/07/image-2-1024x660.png)
2.以上工作做完后,命令行跳转到上面的目录C:\Program Files\EVE-NG,输入plink.exe root@192.168.X.151 我这里主机用户名是root 地址是192.168.X.151 ,根据你自己的主机情况进行填写,回车之后会提示你是否接受证书,输入y 我这里已经接受过了,不会有提示,就不演示了。输入完后,再抓包就正常了。
![解决EVE-NG 或 PNET 抓包报End of file on pipe magic during open. 解决EVE-NG 或 PNET 抓包报End of file on pipe magic during open.](https://gcsee.com/wp-content/uploads/2024/07/image-6.png)
正文完