summaryrefslogtreecommitdiff
path: root/server/src/mini-rat.c
AgeCommit message (Collapse)Author
2023-07-26server: fix run_exec printing garbage dataDanny Holman
Fix a bug in which run_exec would print garbage values into the socket and to stdout. Signed-off-by: Danny Holman <dholman@gymli.org>
2023-07-25server: fix incorrect inequality in print_hostinfoDanny Holman
Fix a bug in which print_hostinfo would check for a positive return value from read_session instead of a negative value. Signed-off-by: Danny Holman <dholman@gymli.org>
2023-07-24server: add a proper timeout message to hostinfoDanny Holman
Add a proper timeout message to the print_hostinfo function. Signed-off-by: Danny Holman <dholman@gymli.org>
2023-06-13server: add helper functions to the main fileDanny Holman
Add several helper functions to the main file of the C&C server that perform actions requested by the user. Signed-off-by: Danny Holman <dholman@gymli.org>
2023-02-15fixup! main: add a command line processorDanny Holman
2023-02-15main: add a command line processorDanny Holman
Add a function that processes incoming user commands. Signed-off-by: Danny Holman <dholman@gymli.org>
2023-01-04server: add a main header and source fileDanny Holman
Add a main header and source file so that every required header is checked against the config.h generated by autoconf. Signed-off-by: Danny Holman <dholman@gymli.org>