Age | Commit message (Collapse) | Author |
|
Remove a line in server.c that set the client socket descriptor as
non-blocking. Since the server is multithreaded we do not need
non-blocking I/O.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Update version information across all build files.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Implement a series of functions that facilitate remote control
connections, i.e. connections that control session information, allow
exfiltration of data, etc. from the command server.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Remove the functions doing I/O on socket operations. These functions are
designed for single-threaded applications or for non-blocking sockets;
neither of which mini-rat has.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Fixed a bug inside the session control logic that disallowed a timeout
value.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Mark the socket in the worker function as non-blocking and run poll().
This should be done in order to prevent a slow loris attack on the C&C
server.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add functions that initialize and control the server listening socket.
Signed-off-by: Danny Holman <dholman@gymli.org>
|