首先配置好go语言环境
go环境配置
- 从github上拉取镜像
git clone https://github.com/shadow1ng/fscan.git
- 进入到fscan文件夹下
cd fscan
- 编译
go build -ldflags="-s -w " -trimpath
upx -9 fscan.exe (可选,压缩体积)
执行完之后,会生成fscan
- 使用
./fscan -h 192.168.1.1 -p 1-65535 -np
./fscan -h 192.168.1.1/24 扫描c段
详细使用方法,请阅读fscan作者文章https://github.com/shadow1ng/fscan