mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-01-14 17:37:27 +01:00
do not log UUID as a string
This commit is contained in:
parent
5f7c2e7207
commit
bb00b00b2c
@ -1181,7 +1181,7 @@ static void config_create(Remote* remote, MetsrvConfig** config, LPDWORD size) {
|
||||
dprintf("[CONFIG] preparing the configuration");
|
||||
|
||||
// start by preparing the session.
|
||||
memcpy(sess->uuid, remote->orig_config->session.uuid, sizeof(sess->uuid));
|
||||
memcpy(sess->uuid, remote->orig_config->session.uuid, UUID_SIZE);
|
||||
sess->expiry = remote->sess_expiry_end - current_unix_timestamp();
|
||||
|
||||
// TOOD: figure what we should be doing for POSIX here.
|
||||
@ -1250,7 +1250,6 @@ DWORD server_setup(MetsrvConfig* config)
|
||||
|
||||
dprintf("[SERVER] Initializing from configuration: 0x%p", config);
|
||||
dprintf("[SESSION] Comms Fd: %u", config->session.comms_fd);
|
||||
dprintf("[SESSION] UUID: %s", config->session.uuid);
|
||||
dprintf("[SESSION] Expiry: %u", config->session.expiry);
|
||||
|
||||
srand(time(NULL));
|
||||
|
@ -289,7 +289,6 @@ DWORD server_setup(MetsrvConfig* config)
|
||||
|
||||
dprintf("[SERVER] Initializing from configuration: 0x%p", config);
|
||||
dprintf("[SESSION] Comms Fd: %u", config->session.comms_fd);
|
||||
dprintf("[SESSION] UUID: %S", config->session.uuid);
|
||||
dprintf("[SESSION] Expiry: %u", config->session.expiry);
|
||||
|
||||
dprintf("[SERVER] UUID: %02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x",
|
||||
|
Loading…
Reference in New Issue
Block a user