mirror of
https://github.com/SpecterOps/Nemesis
synced 2026-06-08 12:36:42 +00:00
b63813e300
- Add centralized PostgreSQL connection string helper in common/db.py - Replace ntpath with posixpath - Add get_drive_from_path() helper for extracting drive letters from paths - Update all modules to use centralized DB connection helper instead of individual Dapr client calls - Improve path normalization across Chromium, DPAPI, and file enrichment modules - Added dependencies to local libraries - Expand file linking tests with comprehensive rule engine test cases - Refactor masterkey path construction to use posixpath.normpath for proper path joining - Update state helpers and API models to use centralized connection - Updated web API to use strongly typed models instead of dicts internally - Improve DPAPI core functionality with better error handling and path normalization