From 335b925198ce1b391d964485ddbed7177c217a9d Mon Sep 17 00:00:00 2001 From: DigiJ Date: Tue, 3 Mar 2026 05:25:47 -0800 Subject: [PATCH] =?UTF-8?q?Update=20build=20system=20for=20v2.2=20?= =?UTF-8?q?=E2=80=94=20bundle=20DNS=20binary,=20bump=20versions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add autarch-dns.exe to PyInstaller spec data files and Inno Setup installer. Bump version to 2.2 in installer.iss and setup_msi.py. Add DNS server kill to uninstall. Update devjournal with v2.2.0 session notes. Add concept.md (project origin document). Co-Authored-By: Claude Opus 4.6 --- autarch_public.spec | 3 +++ devjournal.md | 47 +++++++++++++++++++++++++++++++++++++++++++-- installer.iss | 7 +++++-- setup_msi.py | 2 +- 4 files changed, 54 insertions(+), 5 deletions(-) diff --git a/autarch_public.spec b/autarch_public.spec index 0dbbc88..83f456f 100644 --- a/autarch_public.spec +++ b/autarch_public.spec @@ -29,6 +29,9 @@ _candidate_files = [ # Icon (SRC / 'autarch.ico', '.'), + # DNS server binary + (SRC / 'services' / 'dns-server' / 'autarch-dns.exe', 'services/dns-server'), + # Root-level config and docs (SRC / 'autarch_settings.conf', '.'), (SRC / 'user_manual.md', '.'), diff --git a/devjournal.md b/devjournal.md index d779381..dc0b03c 100644 --- a/devjournal.md +++ b/devjournal.md @@ -2406,8 +2406,51 @@ Massive toolkit expansion across two back-to-back sessions. Added 11 new modules - **After:** ~37 modules, 30 blueprints, 27 templates ### Remaining Phase 2 modules (from plan) -- WiFi Auditing, Threat Intel Feed, Steganography, API Fuzzer, BLE Scanner, Forensics Toolkit -- Lower priority: RFID/NFC, Cloud Security, Malware Sandbox, Log Correlator, Anti-Forensics +- ~~WiFi Auditing, Threat Intel Feed, Steganography, API Fuzzer, BLE Scanner, Forensics Toolkit~~ +- ~~Lower priority: RFID/NFC, Cloud Security, Malware Sandbox, Log Correlator, Anti-Forensics~~ +- **ALL COMPLETE** — see v2.2.0 session below **Phase status:** Phases 0–5.10 DONE, Phase 6 (Docker) NOT STARTED +--- + +## v2.2.0 Session — 2026-03-03 + +### Full Arsenal Expansion Complete + +Completed all 11 remaining Phase 2 modules in a single session. Each module includes full backend (CLI + class), Flask routes (blueprint), and web UI template (Jinja2 with tabs). + +### New modules built + +| Module | Category | Route Prefix | Lines | +|--------|----------|-------------|-------| +| WiFi Audit | Offense | `/wifi/` | ~500 | +| Threat Intel | Defense | `/threat-intel/` | ~550 | +| Steganography | Counter | `/stego/` | ~600 | +| API Fuzzer | Offense | `/api-fuzzer/` | ~550 | +| BLE Scanner | Analyze | `/ble/` | ~400 | +| Forensics | Analyze | `/forensics/` | ~550 | +| RFID/NFC | Analyze | `/rfid/` | ~400 | +| Cloud Scanner | Offense | `/cloud/` | ~350 | +| Malware Sandbox | Analyze | `/sandbox/` | ~450 | +| Log Correlator | Defense | `/logs/` | ~500 | +| Anti-Forensics | Counter | `/anti-forensics/` | ~500 | + +### Wiring + +- All 11 blueprints registered in `web/app.py` +- Sidebar links added to `base.html` (Defense: Threat Intel, Log Correlator; Offense: WiFi, API Fuzzer, Cloud; Counter: Stego, Anti-Forensics; Analyze: BLE, Forensics, RFID/NFC, Malware Sandbox) +- Build configs: `autarch_public.spec` + `setup_msi.py` updated with 22 new hidden imports +- CHANGELOG.md updated with full v2.2.0 entry +- Fixed regex syntax warnings in forensics.py and anti_forensics.py (b'' → rb'') + +### Totals after v2.2.0 + +- **48 modules** across modules/ directory +- **41 Flask blueprints** registered in web/app.py +- **38 web templates** in web/templates/ +- **88 files changed, 36,457 insertions** in the commit +- Git commit: `2322f69`, pushed to origin/main + +**Phase 2: COMPLETE** — all 16 arsenal modules operational + diff --git a/installer.iss b/installer.iss index 9902fac..b782a81 100644 --- a/installer.iss +++ b/installer.iss @@ -13,8 +13,8 @@ [Setup] AppName=AUTARCH -AppVersion=2.0 -AppVerName=AUTARCH 2.0 +AppVersion=2.2 +AppVerName=AUTARCH 2.2 AppPublisher=darkHal Security Group AppPublisherURL=https://github.com/darkhal AppSupportURL=https://github.com/darkhal @@ -46,6 +46,8 @@ Name: "startupicon"; Description: "Launch Web Dashboard on Windows startup"; Gro ; Everything from PyInstaller output (compressed with lzma2) ; NOTE: GGUF model excluded — download separately from release page Source: "dist\autarch\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs; Excludes: "_internal\models\Hal_v2.gguf" +; DNS server binary (bundled via PyInstaller data, but also ensure standalone copy) +Source: "services\dns-server\autarch-dns.exe"; DestDir: "{app}\services\dns-server"; Flags: ignoreversion skipifsourcedoesntexist [Icons] ; Start Menu @@ -67,6 +69,7 @@ Filename: "{app}\autarch_web.exe"; Description: "Launch AUTARCH Web Dashboard"; ; Kill running instances before uninstall Filename: "taskkill"; Parameters: "/F /IM autarch.exe"; Flags: runhidden Filename: "taskkill"; Parameters: "/F /IM autarch_web.exe"; Flags: runhidden +Filename: "taskkill"; Parameters: "/F /IM autarch-dns.exe"; Flags: runhidden [UninstallDelete] ; Clean up runtime-generated files diff --git a/setup_msi.py b/setup_msi.py index 3b69e0c..0961857 100644 --- a/setup_msi.py +++ b/setup_msi.py @@ -117,7 +117,7 @@ bdist_msi_options = { setup( name='AUTARCH', - version='2.0', + version='2.2', description='AUTARCH — Autonomous Tactical Agent for Reconnaissance, Counterintelligence, and Hacking', author='darkHal Security Group & Setec Security Labs', options={