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:
|
try:
|
||||||
enc=data.peek()
|
enc=data.peek()
|
||||||
if self._iv_dec is None: #receive IV
|
if self._iv_dec is None: #receive IV
|
||||||
if len(data)<BLOCK_SIZE:
|
if len(enc)<BLOCK_SIZE:
|
||||||
return
|
return
|
||||||
self._iv_dec=enc[0:BLOCK_SIZE]
|
self._iv_dec=enc[0:BLOCK_SIZE]
|
||||||
if AES is not None:
|
if AES is not None:
|
||||||
|
|
Loading…
Reference in New Issue