1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-01-08 14:36:22 +01:00

Land #252, Renegotiate AES in HTTP payloads on new framework instance

This commit is contained in:
William Webb 2017-11-23 00:21:38 -06:00
commit a404126f66
No known key found for this signature in database
GPG Key ID: 341763D0308DA650

View File

@ -485,9 +485,7 @@ DWORD request_negotiate_aes_key(Remote* remote, Packet* packet)
{
if (remote->enc_ctx != NULL)
{
dprintf("[ENC] context already created.");
// Done this before, so don't do it again.
break;
free_encryption_context(remote);
}
remote->enc_ctx = (PacketEncryptionContext*)calloc(1, sizeof(PacketEncryptionContext));