summaryrefslogtreecommitdiff
path: root/client/src
AgeCommit message (Collapse)Author
2023-09-29client: add an additional newline before RETURNDanny Holman
Add an additional newline after the exec function has returned. This should eliminate garbage output printed at the server during exfiltration of data. Signed-off-by: Danny Holman <dholman@gymli.org>
2023-09-13client: finish implementing core commandsDanny Holman
Finish implementing the core commands required by the C&C server. Signed-off-by: Danny Holman <dholman@gymli.org>
2023-09-13client: add error checking to system callsDanny Holman
Add error checking to execve and add cleanup calls so that no memory is leaked. Signed-off-by: Danny Holman <dholman@gymli.org>
2023-09-13client: refactor to make more senseDanny Holman
Refactor several functions in the reference client such that they make more sense when reading. Signed-off-by: Danny Holman <dholman@gymli.org>
2023-07-26common: create the common directoryDanny Holman
Create a directory for files that are shared between the reference client and server. Refactor the build scripts to reflect this restructuring. Signed-off-by: Danny Holman <dholman@gymli.org>
2023-06-13client: add a reference clientDanny Holman
Add a reference client that will act as an example of what the client program should accomplish given a command from the C&C server. Signed-off-by: Danny Holman <dholman@gymli.org>