Repository navigation
feat: v0.6.0 - major service detection upgrade - #7
Merged
Merged
Conversation
- Add 88 unit tests across banner, tls, output, ports, and sigs modules - Show extra field in terminal output and fix all output writers (XML, grep, NDJSON, normal) - Reorder probes: NULL (1s) -> HTTP -> Redis/PostgreSQL for faster detection - Fix false Redis detection on non-Redis ports (validate RESP format) - TLS: add ALPN negotiation (h2/http1.1), SAN extraction from certificates, TLS 1.3 cipher suites - Add 6 new protocol probes: Memcached, MongoDB, MQTT, AMQP, RDP, SMB - Add HTTP fingerprints for Elasticsearch and Docker API - Enhanced -sC scripts: OpenAPI, docs, 404 fingerprint, reverse proxy detection - Data-driven signatures via @embedfile: 5 banner sigs + 30 HTTP app sigs (comptime parsed) - Auto-probe /openapi.json on FastAPI services to extract app title and version - FastAPI detection now shows actual service name (e.g. "ProStaff ML 2.0.0")
Semgrep Static Analysis
No issues found. |
Security Scan Summary
All security checks passed! |
Up to standards ✅🟢 Issues
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Major upgrade to OhmZ service detection capabilities with 88 unit tests, 8 new protocol probes, data-driven signatures, and significantly improved accuracy.
Detection improvements
/openapi.jsonto extract actual app title and versionPerformance & accuracy
$or-src/data/service-probesparsed at compile time via@embedFile- zero runtime cost, easy to extendOutput & testing
-sCscripts: OpenAPI spec, docs detection, 404 fingerprint, reverse proxy detectionTest plan
zig build test- 88/88 tests passzig fmt --check src/ build.zig- cleanzig build -Doptimize=ReleaseSafe- builds clean-sV- all services correctly identified