该工具是基于微步接口对本机恶意IP自检的工具,其中有三个参数:
-k:微步的key值,必须要有该参数
-u:对指定IP进行单次检测
-c:对本机的所有IP进行检测,格式建议用-c=xxxxxx,默认值:true,进行自检
创建一个文件夹:TB_check,新建四个文件:main.go、check.go、function.go、type.go,在TB_check文件夹打开cmd,运行go build .,即可生成文件。
# 编译
go build -ldflags="-s -w" -trimpath -o TB_check_darwin_amd64 .
go build -ldflags="-s -w" -trimpath -o TB_check_linux_amd64 .
go build -ldflags="-s -w" -trimpath -o TB_check_windows_amd64.exe . - v1.0.0 初始版本
- v1.0.1 修复了bug


