Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
Add a proper timeout message to the print_hostinfo function.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
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>
|
|
|
|
Add a function that processes incoming user commands.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
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>
|