@@ -58,6 +58,101 @@ Comprehensive intranet scanning tool for automated vulnerability assessment.
5858- ** Multi-language** - Chinese/English interface (-lang zh/en)
5959- ** Performance Stats** - JSON format performance report (-perf)
6060
61+ ## v2.1.0 Changelog
62+
63+ > This update includes ** 262 commits** : 30 new features, 120 fixes, 54 refactors, 14 performance optimizations, 20 test enhancements.
64+
65+ ### Architecture Refactoring
66+ - ** Global Variable Elimination** - Migrated to Config/State objects for better concurrency safety and testability
67+ - ** SMB Plugin Consolidation** - Merged smb/smb2/smbghost/smbinfo into unified plugin with new smb_protocol.go
68+ - ** Service Probe Refactoring** - Implemented Nmap-style fallback mechanism, optimized port fingerprint strategy
69+ - ** Output System Refactoring** - TXT real-time flush + dual-write mechanism, resolved result loss and ordering issues
70+ - ** i18n Framework Upgrade** - Migrated to go-i18n, full coverage of core/plugins/webscan modules
71+ - ** HostInfo Refactoring** - Ports field changed from string to int for type safety
72+ - ** Function Complexity Optimization** - clusterpoc (125→30), EnhancedPortScan (111→20)
73+ - ** Code Audit** - Fixed P0-P2 level issues, cleaned up deadcode
74+ - ** Logging System Optimization** - LogDebug call cleanup (71→18), streamlined startup log output
75+
76+ ### Performance Optimization
77+ - ** Regex Precompilation** - Global regex precompilation to avoid repeated compilation overhead
78+ - ** Memory Optimization** - Changed map[ string] bool to map[ string] struct{} for memory savings
79+ - ** Concurrent Fingerprint Matching** - Multi-goroutine parallel matching for faster identification
80+ - ** Connection Reuse** - SOCKS5 global dialer reuse to avoid repeated handshakes
81+ - ** Sliding Window Scheduling** - Adaptive thread pool + streaming iterator for port scan optimization
82+ - ** CEL Cache Optimization** - POC scan CEL environment caching to reduce repeated initialization
83+ - ** Package-level Variable Extraction** - proxyFailurePatterns/resourceExhaustedPatterns/sslSecondProbes etc.
84+ - ** Capacity Pre-allocation** - Simplified conversion chains, single-pass string replacement
85+ - ** Concurrency Safety Optimization** - Optimized lock granularity and memory allocation
86+
87+ ### New Features
88+ - ** Web Management UI** - Visual scan task management with responsive layout and progress display
89+ - ** Multi-format POC Adapter** - Support for xray and afrog format POCs
90+ - ** Smart Scan Mode** - Bloom filter deduplication + proxy optimization
91+ - ** Enhanced Fingerprint Library** - Integrated FingerprintHub (3139 fingerprints)
92+ - ** Favicon Fingerprinting** - Support for mmh3 and MD5 dual-format hash matching
93+ - ** Universal Version Extractor** - Auto-extract service version information
94+ - ** Fingerprint Priority Sorting** - Smart sorting of match results
95+ - ** Smart Protocol Detection** - Auto-detect HTTP/HTTPS protocol type
96+ - ** Network Interface Binding** - Support for VPN scenarios (-iface parameter)
97+ - ** Exclude Hosts File** - Read excluded hosts from file (-ehf parameter)
98+ - ** ICMP Token Bucket Rate Limiting** - Prevent router crashes from high-speed scanning
99+ - ** Port Scan Retry** - Automatic retry mechanism for failed scans
100+ - ** RDP Real Authentication** - Integrated grdp library for system fingerprinting
101+ - ** SMB/FTP File Listing** - Auto-list files on anonymous access
102+ - ** 302 Redirect Dual Detection** - Identify fingerprints from both original and redirected responses
103+ - ** TXT Output URL Summary** - Append web service URL list for batch testing
104+ - ** gonmap Core Integration** - Three improvements: probe strategy/matching engine/version parsing
105+ - ** Selective Plugin Compilation** - Build Tags system for independent service/local/web plugin compilation
106+ - ** Default Port Expansion** - Extended from 62 to 133 common ports
107+ - ** Full Port Scan Support** - Expanded port range limits
108+ - ** HTTP Redirect Control** - Configurable redirect count limit
109+ - ** Performance Profiling Support** - Added pprof profiling and benchmark tests
110+ - ** TCP Packet Statistics** - Service plugins support TCP packet send statistics
111+ - ** fscan-lab Environment** - Intranet penetration training platform covering all vulnerability scenarios
112+ - ** Redis Exploitation Enhancement** - Ported complete Redis exploitation (write pubkey/crontab/webshell/master-slave RCE)
113+ - ** rsync Plugin Refactoring** - Restructured authentication logic using go-rsync library
114+
115+ ### Bug Fixes (120 items, key fixes listed)
116+ - ** RDP Null Pointer Panic** - Fixed certificate parsing crash (#551 )
117+ - ** Batch Scan Missing Results** - Fixed large-scale scan omissions (#304 )
118+ - ** JSON Output Format** - Fixed output format errors (#446 )
119+ - ** Redis Weak Password Detection** - Fixed detection omissions (#447 )
120+ - ** Real-time Result Saving** - Fixed scan results not saved timely (#469 )
121+ - ** Nmap Parse Overflow** - Fixed octal escape parsing bug (#478 )
122+ - ** Fingerprint Race Condition** - Fixed webtitle/webpoc race issues (#474 )
123+ - ** MySQL Connection Validation** - Changed to information_schema for validation
124+ - ** Proxy Port Misjudgment** - Fixed port status judgment in proxy mode
125+ - ** Context Timeout** - Fixed 22 plugin timeout unresponsive issues
126+ - ** ICMP Race Condition** - Fixed concurrent scan race issues
127+ - ** IPv6 Address Format** - Fixed 4 address formatting issues
128+ - ** POC High Concurrency Hang** - Fixed Context propagation issues
129+ - ** Ctrl+C Result Loss** - Added signal handling for proper result saving
130+ - ** SOCKS5 Echo Issue** - Added proxy connection validation
131+ - ** Service Probe Leak** - Fixed connection not properly closed
132+ - ** webtitle Response Discard** - Fixed partial response data being discarded causing identification failure
133+ - ** TXT Vulnerability Info Missing** - Fixed output missing vulnerability details
134+ - ** JSON Fingerprint Missing** - Unified SERVICE result Target format
135+ - ** Scan Duration Display** - Fixed completion time showing as 0
136+ - ** False Vulnerability Records** - Refactored TXT output system to eliminate false positives
137+ - ** Redis Cross-platform Path** - Fixed exploitation path and timeout issues
138+ - ** Windows Compilation Warnings** - Fixed fscan-lite platform compatibility
139+ - ** Go 1.20 Compatibility** - Downgraded dependencies for compatibility
140+
141+ ### Test Enhancements (20 items)
142+ - ** Unit Tests** - Core module coverage at 74-100%
143+ - ** Concurrency Safety Tests** - Dedicated tests for State object and fingerprint matching engine
144+ - ** Integration Tests** - Web scan/port scan/service probe/SSH auth/ICMP probe
145+ - ** CLI Parameter Tests** - Command-line argument parsing verification
146+ - ** Performance Benchmarks** - AdaptivePool and service probe strategy benchmarks
147+ - ** ResultBuffer Tests** - Deduplication and completeness scoring verification
148+
149+ ### Engineering Improvements
150+ - ** CI Pipeline Optimization** - Upgraded to golangci-lint v2, simplified build steps
151+ - ** Issue Automation** - GitHub Issue template optimization, Project automation workflow
152+ - ** Full Lint Fixes** - revive/errcheck/shadow/staticcheck/gosimple all passing
153+ - ** README Rewrite** - Comprehensive Chinese and English documentation update
154+ - ** Code Format Unification** - gofmt/goimports standardization
155+
61156## Quick Start
62157
63158``` bash
0 commit comments