mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-11-05 10:45:27 +00:00
**核心架构重构** - 重构目录结构:Common/ -> common/, Core/ -> core/, Plugins/ -> plugins/, WebScan/ -> webscan/ - 模块化设计:拆分common/为parsers/, logging/, i18n/, output/, proxy/等子模块 - 统一插件系统:消除Plugin/Scanner/LocalPlugin等重复接口 - 配置解析器重写:新增parsers包处理所有配置解析逻辑 - 国际化支持:完整的中英文i18n系统 **服务插件重构** (59个插件) - 所有服务插件采用统一接口设计 - 新增服务插件:ActiveMQ, Cassandra, Kafka, Neo4j, RabbitMQ, Rsync等 - 增强现有插件:SSH, MySQL, Redis, SMB, FTP, PostgreSQL等 - 本地功能插件:AVDetect, Cleaner, CronTask, KeyLogger, SystemInfo等26个 - 智能错误分类和重试机制 - 并发暴力破解优化 **核心扫描引擎** - 端口扫描重构:支持SYN/Connect/ICMP多种模式 - 服务识别增强:集成nmap-service-probes指纹库 - Web扫描优化:title抓取、POC检测、指纹识别 - 进度条系统:实时显示扫描进度、发包统计、内存使用 - 发包频率控制:支持-rate和-maxpkts限制 **新增功能** - user:pass格式字典支持 (-upf参数) #179 - fscan-lite C语言版本:轻量级无依赖版本 - 本地扫描模式:26个本地安全检测插件 - API模式:支持远程调用 - Docker测试环境:13个服务的docker-compose配置 **Bug修复** - 修复并发输出混乱问题 - 修复包计数双重统计 - 修复进度条显示不准确 - 修复-no参数被忽略 - 修复SMB/SSH认证问题 - 修复Oracle TNS服务识别错误 - 修复SafeDialTimeout缺失TCP计数 **性能优化** - 删除大量死代码和冗余函数 - 简化过度工程设计 - 优化端口扫描性能 - 减少内存占用 - 清理重复代码 **测试和CI/CD** - 新增核心模块单元测试 (2000+ loc) - GitHub Actions优化:统一构建发布流程 - 支持fscan和fscan-lite统一发布 - 中文化工作流配置 **文档** - 更新README文档 - 新增插件开发文档 - 完善国际化文档 **依赖更新** - 更新go.mod依赖 - 清理无用依赖 - 升级核心库版本 统计: - 删除文件:61个旧架构文件 - 新增文件:500+个模块化文件 - 代码行数:~50000 lines - Commits压缩:289 -> 1
79 lines
3.4 KiB
Modula-2
79 lines
3.4 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/jlaffaye/ftp v0.2.0
|
|
github.com/lib/pq v1.10.9
|
|
github.com/satori/go.uuid v1.2.0
|
|
github.com/schollz/progressbar/v3 v3.13.1
|
|
github.com/stacktitan/smb v0.0.0-20190531122847-da9a425dceb8
|
|
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/sync v0.10.0
|
|
golang.org/x/sys v0.28.0
|
|
google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c
|
|
google.golang.org/protobuf v1.28.1
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
)
|
|
|
|
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/hirochachacha/go-smb2 v1.1.0 // 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/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/mattn/go-runewidth v0.0.14 // indirect
|
|
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
|
|
github.com/mitchellh/go-vnc v0.0.0-20150629162542-723ed9867aed // indirect
|
|
github.com/montanaflynn/stats v0.7.1 // indirect
|
|
github.com/pierrec/lz4/v4 v4.1.21 // indirect
|
|
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
|
github.com/rogpeppe/go-internal v1.13.1 // indirect
|
|
github.com/sijms/go-ora/v2 v2.9.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/term v0.27.0 // indirect
|
|
golang.org/x/text v0.21.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
|