mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-02-09 10:19:19 +08:00
## 架构重构
- 全局变量消除,迁移至 Config/State 对象
- SMB 插件融合(smb/smb2/smbghost/smbinfo)
- 服务探测重构,实现 Nmap 风格 fallback 机制
- 输出系统重构,TXT 实时刷盘 + 双写机制
- i18n 框架升级至 go-i18n
## 性能优化
- 正则表达式预编译
- 内存优化 map[string]struct{}
- 并发指纹匹配
- SOCKS5 连接复用
- 滑动窗口调度 + 自适应线程池
## 新功能
- Web 管理界面
- 多格式 POC 适配(xray/afrog)
- 增强指纹库(3139条)
- Favicon hash 指纹识别
- 插件选择性编译(Build Tags)
- fscan-lab 靶场环境
- 默认端口扩展(62→133)
## 构建系统
- 添加 no_local tag 支持排除本地插件
- 多版本构建:fscan/fscan-nolocal/fscan-web
- CI 添加 snapshot 模式支持仅测试构建
## Bug 修复
- 修复 120+ 个问题,包括 RDP panic、批量扫描漏报、
JSON 输出格式、Redis 检测、Context 超时等
## 测试增强
- 单元测试覆盖率 74-100%
- 并发安全测试
- 集成测试(Web/端口/服务/SSH/ICMP)
85 lines
3.6 KiB
Modula-2
85 lines
3.6 KiB
Modula-2
module github.com/shadow1ng/fscan
|
|
|
|
go 1.20
|
|
|
|
require (
|
|
github.com/IBM/sarama v1.43.3
|
|
github.com/denisenkom/go-mssqldb v0.12.3
|
|
github.com/fatih/color v1.18.0
|
|
github.com/go-ldap/ldap/v3 v3.4.9
|
|
github.com/go-sql-driver/mysql v1.8.1
|
|
github.com/gocql/gocql v1.7.0
|
|
github.com/google/cel-go v0.13.0
|
|
github.com/gorilla/websocket v1.5.3
|
|
github.com/hirochachacha/go-smb2 v1.1.0
|
|
github.com/huin/asn1ber v0.0.0-20120622192748-af09f62e6358
|
|
github.com/icodeface/tls v0.0.0-20230910023335-34df9250cd12
|
|
github.com/jlaffaye/ftp v0.2.0
|
|
github.com/juju/ratelimit v1.0.2
|
|
github.com/lib/pq v1.10.9
|
|
github.com/lunixbochs/struc v0.0.0-20241101090106-8d528fa2c543
|
|
github.com/mitchellh/go-vnc v0.0.0-20150629162542-723ed9867aed
|
|
github.com/nicksnyder/go-i18n/v2 v2.4.0
|
|
github.com/panjf2000/ants/v2 v2.11.3
|
|
github.com/satori/go.uuid v1.2.0
|
|
github.com/sijms/go-ora/v2 v2.9.0
|
|
github.com/stacktitan/smb v0.0.0-20190531122847-da9a425dceb8
|
|
go.ciq.dev/go-rsync v0.0.0-20240304021629-0a3bb196e6d1
|
|
go.mongodb.org/mongo-driver v1.17.4
|
|
golang.org/x/crypto v0.31.0
|
|
golang.org/x/net v0.32.0
|
|
golang.org/x/sys v0.28.0
|
|
golang.org/x/text v0.21.0
|
|
google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c
|
|
google.golang.org/protobuf v1.28.1
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
filippo.io/edwards25519 v1.1.0 // indirect
|
|
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
|
|
github.com/alexbrainman/sspi v0.0.0-20231016080023-1a75b4708caa // indirect
|
|
github.com/antlr/antlr4/runtime/Go/antlr v1.4.10 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/eapache/go-resiliency v1.7.0 // indirect
|
|
github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 // indirect
|
|
github.com/eapache/queue v1.1.0 // indirect
|
|
github.com/geoffgarside/ber v1.1.0 // indirect
|
|
github.com/go-asn1-ber/asn1-ber v1.5.7 // indirect
|
|
github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe // indirect
|
|
github.com/golang-sql/sqlexp v0.1.0 // indirect
|
|
github.com/golang/snappy v0.0.4 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed // indirect
|
|
github.com/hashicorp/errwrap v1.0.0 // indirect
|
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
|
github.com/hashicorp/go-uuid v1.0.3 // indirect
|
|
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
|
|
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
|
|
github.com/jcmturner/gofork v1.7.6 // indirect
|
|
github.com/jcmturner/goidentity/v6 v6.0.1 // indirect
|
|
github.com/jcmturner/gokrb5/v8 v8.4.4 // indirect
|
|
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
|
|
github.com/kaiakz/ubuffer v0.0.0-20200803053910-dd1083087166 // indirect
|
|
github.com/klauspost/compress v1.17.9 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/montanaflynn/stats v0.7.1 // indirect
|
|
github.com/pierrec/lz4/v4 v4.1.21 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
|
|
github.com/rogpeppe/go-internal v1.12.0 // indirect
|
|
github.com/stoewer/go-strcase v1.2.0 // indirect
|
|
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
|
|
github.com/xdg-go/scram v1.1.2 // indirect
|
|
github.com/xdg-go/stringprep v1.0.4 // indirect
|
|
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect
|
|
golang.org/x/sync v0.11.0 // indirect
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
|
)
|
|
|
|
replace github.com/tomatome/grdp v0.0.0-20211231062539-be8adab7eaf3 => github.com/shadow1ng/grdp v1.0.3
|
|
|
|
replace github.com/C-Sto/goWMIExec v0.0.1-deva.0.20210704154847-b8ebd6464a06 => github.com/shadow1ng/goWMIExec v0.0.2
|