(self, payload, finalkey, iv)
return payload
Decrypt payload buffer with AES CBC
Decrypt payload buffer with AES CBC
Decrypt payload buffer with AES CBC
def decrypt_payload_aes_cbc(self, payload, finalkey, iv):
        'Decrypt payload buffer with AES CBC'

        from Crypto.Cipher import AES
        cipher = AES.new(finalkey, AES.MODE_CBC, iv)
        payload = cipher.decrypt(payload)
        extra = ord(payload[-1])
        payload = payload[:len(payload)-extra]
        return payload
def decrypt_payload_aes_cbc ( self , payload , finalkey , iv ) : from Crypto . Cipher import AES cipher = AES . new ( finalkey , AES . MODE_CBC , iv ) payload = cipher . decrypt ( payload ) extra = ord ( payload [ - 1 ] ) payload = payload [ : len ( payload ) - extra ] return payload