239 Commits

Author SHA1 Message Date
Jakob Friedl
b8b276d887 Refactored agent command handling to remove redundant boiler-plate code. Commands are parsed dynamically based on a single definition. Command-specific actions might still need distinct implementations. 2025-07-14 22:14:27 +02:00
Jakob Friedl
2d2c94ed38 Implemented move and copy command. Needs to be reworked to work without `-f' and '-t' flags but with spaces. 2025-07-09 15:13:37 +02:00
Jakob Friedl
bb56ed42f2 Updated task structure to use a JSON string instead of seq[string], making it possible to use multiple differently typed arguments 2025-07-09 14:38:30 +02:00
Jakob Friedl
71ff092975 Refactor redundant code for better extensibility with new commands. 2025-07-08 23:10:19 +02:00
Jakob Friedl
1f73cf142d Updated config.nims to nim.cfg 2025-07-08 22:04:21 +02:00
Jakob Friedl
6b095fbd05 Deleted tui.nim 2025-07-08 22:02:25 +02:00
Jakob Friedl
8230061478 Added basic test with GUI library (owlkettle). Found that i need to run the app in a VM since it doesnt work on Windows 2025-07-08 22:01:19 +02:00
Jakob Friedl
4a5f3baaa4 Implemented 'rm' and 'rmdir' commands 2025-07-08 21:09:50 +02:00
Jakob Friedl
92da6f1288 Merge ls, pwd and cd into a single 'filesystem' file 2025-07-08 20:36:43 +02:00
Jakob Friedl
061f198461 Added more TODOs 2025-07-07 21:41:47 +02:00
Jakob Friedl
ba7c8b6841 Implemented 'cd' and 'ls' commands using Windows APIs. 2025-07-07 21:30:05 +02:00
Jakob Friedl
6a92a19b9e Implemented 'pwd' command to retrieve working directory. 2025-06-20 16:44:39 +02:00
Jakob Friedl
b25d09e282 Hide hardcoded IP address from agent binary by splitting it up into integer octets 2025-06-02 21:37:58 +02:00
Jakob Friedl
ac1bc22b93 Updated task result console output 2025-06-02 21:14:13 +02:00
Jakob Friedl
3849bcd7f1 Seperated Task and TaskResult types. 2025-05-29 15:26:50 +02:00
Jakob Friedl
118e9eadd2 Prevent database locking by not updating latest checkin in database and instead storing it only in memory 2025-05-29 14:19:55 +02:00
Jakob Friedl
d35b1d0a0d Update agent in database when sleep setting is changed to display latest checkin correctly. 2025-05-28 11:14:30 +02:00
Jakob Friedl
4397f728de Implemented sleep command to update sleep delay on agent 2025-05-28 10:39:30 +02:00
Jakob Friedl
c03592c7fd Implemented agent generation from teamserver 2025-05-24 16:15:41 +02:00
Jakob Friedl
ac0bb3c915 Agent utilizes configuration file (nim.cfg) and compile-time variables for listener information. 2025-05-24 13:56:26 +02:00
Jakob Friedl
5fe13fef94 Add command ideas/roadmap 2025-05-23 19:36:51 +02:00
Jakob Friedl
a8a32668d1 Fix formatting for multi-line command output and delete tasks after completion. 2025-05-23 16:02:16 +02:00
Jakob Friedl
5ab9cd302c Implemented displaying latest checkin in agents table, as well as word-wrap. 2025-05-23 13:55:00 +02:00
Jakob Friedl
6f9e20566d Prevented client from crashing when listener is not reachable 2025-05-23 10:02:17 +02:00
Jakob Friedl
1b147aacd6 Implemented basic shell command execution and result retrieval. Next Step: Remove completed tasks from queue 2025-05-22 20:03:22 +02:00
Jakob Friedl
71336a6fa7 Implemented Windows Version fingerprinting 2025-05-21 14:06:04 +02:00
Jakob Friedl
c55a9f9443 Added monarch agent 2025-05-19 21:56:34 +02:00
Jakob Friedl
0a98d11df2 Implemented switch to agent interaction mode. 2025-05-18 12:51:26 +02:00
Jakob Friedl
56f8994069 Added number of agents to listener list 2025-05-15 15:24:46 +02:00
Jakob Friedl
9d652df4e3 Implemented listing agents by listener UUID 2025-05-15 14:27:45 +02:00
Jakob Friedl
2810ed3a95 Implemented agent removal, changed object structures 2025-05-14 15:48:01 +02:00
Jakob Friedl
826aacafad Implement listing agents; Add TODOs for further improvements 2025-05-14 12:42:23 +02:00
Jakob Friedl
c4cbcecafa Implemented agent registration, restructured Conquest type to utilize tables to store agents and listeners 2025-05-13 23:42:04 +02:00
Jakob Friedl
3038ad6f0e Started work on agent registration 2025-05-12 21:53:37 +02:00
Jakob Friedl
8528a3107c Implemented listener management (start, stop, list) and database integration. 2025-05-09 12:04:14 +02:00
Jakob Friedl
4af5295a2b Experiment with TUI implementation using illwill 2025-05-06 22:46:36 +02:00
Jakob Friedl
0c39fda207 Experiment with Listener Creation 2025-05-02 18:10:30 +02:00
Jakob Friedl
f2fb926e4b Updated .gitignore 2025-04-28 20:24:27 +02:00
Jakob Friedl
e481d48b41 Initial commit 2025-04-28 20:21:03 +02:00