mirror of https://github.com/n1nj4sec/pupy.git
typo fix in aes transport
This commit is contained in:
parent
62311846ed
commit
9505c85abd
|
@ -82,7 +82,7 @@ class AESTransport(BasePupyTransport):
|
|||
try:
|
||||
enc=data.peek()
|
||||
if self._iv_dec is None: #receive IV
|
||||
if len(data)<BLOCK_SIZE:
|
||||
if len(enc)<BLOCK_SIZE:
|
||||
return
|
||||
self._iv_dec=enc[0:BLOCK_SIZE]
|
||||
if AES is not None:
|
||||
|
|
Loading…
Reference in New Issue