9f17d6c2e1
Add telnet command
2022-07-27 21:18:25 -06:00
997d6e1f8a
Add optional path parameter to ls command
2022-07-24 22:41:23 -06:00
f481dcfbf7
Improve error handling for incoming TCP connections
2022-07-24 22:41:02 -06:00
8f8f152f5f
Improve error handling for cd command
2022-07-24 22:40:40 -06:00
cc46884736
Add "get" command
2022-07-24 22:40:04 -06:00
ded6762075
Enable sending multiple commands in a single session
2022-07-24 21:42:34 -06:00
184f8e0f30
Implement cat command
2022-07-24 21:32:51 -06:00
ab612dcfd9
Implement basic multithreaded command execution
2022-07-24 21:32:40 -06:00
6e7d8e807f
Use port 4762 by default
2022-07-24 16:46:33 -06:00
9efc6e8d93
Remove unused import
2022-07-24 16:46:20 -06:00
ec9389ff3c
Enable link-time optimization for release builds
2022-07-24 16:46:12 -06:00
823c9ebb3a
Only sort files/dirs by name
2022-07-23 22:27:58 -06:00
25fd77dc56
Extract commands to their own functions
2022-07-23 22:26:38 -06:00
00a58338de
fixup! Ignore swap files
2022-07-23 22:26:17 -06:00
debacb44cd
Ignore swap files
2022-07-23 22:25:48 -06:00
c5f5b2a868
Initial commit
...
This is still experimental, though for now I've been able to implement a
few commands:
- cd: changes the current working directory of the agent
- ls: lists the directories and files in the current working directory
- ping: responds with "pong"
- pwd: prints the current working directory
- shell: executes an arbitrary command on the host
2022-07-23 22:14:31 -06:00