Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 808 Bytes

Installation.md

File metadata and controls

34 lines (25 loc) · 808 Bytes

编译

sudo apt install -y libpcap-dev golang git
git clone https://github.com/hktalent/scan4all.git
cd scan4all
go build

安装/运行

1.在运行scan4all之前,你必须先安装libpcap库

sudo apt install -y libpcap-dev

2.前往 https://github.com/hktalent/scan4all/releases/ 下载scan4all最新版运行:

运行时动态库版本问题

如果你运行的时候出现了libpcap.so.0.8: cannot open shared object file: No such file or directory的错误

请先检查libpcap库是否已经正常安装。

ls -all /lib64/libpcap*

如果有安装其他版本的libpcap库,可建立一个软连接到/lib64/libpcap.so.0.8即可正常运行程序

ln -s /lib64/libpcap.so.1.9.1 /lib64/libpcap.so.0.8