mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-25 11:25:56 +00:00
Phase 2a: read-only scan/classification and process observation (verified against live repack)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c39ff556a3
commit
e1b8267022
7 files changed
+865
-9
No files matched your search
@@ -0,0 +1,10 @@
|
||||
use std::path::Path;
|
||||
|
||||
fn main() {
|
||||
let path = std::env::args().nth(1).expect("usage: scan <server folder>");
|
||||
let root = Path::new(&path);
|
||||
let report = coa_core::layout::scan(root).expect("scan failed");
|
||||
println!("{}", serde_json::to_string_pretty(&report).unwrap());
|
||||
let observed = coa_core::process::observe(root, &report.ports);
|
||||
println!("{}", serde_json::to_string_pretty(&observed).unwrap());
|
||||
}
|
||||
Reference in new issue
Block a user