mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-12-13 22:42:37 +00:00
Updated setcore with latest code
This commit is contained in:
parent
c26b21f1b2
commit
0bf364d2a4
1 changed files with 0 additions and 1 deletions
|
@ -1324,7 +1324,6 @@ def encryptAES(secret, data):
|
||||||
EncodeAES = lambda c, s: base64.b64encode(c.encrypt(pad(s)))
|
EncodeAES = lambda c, s: base64.b64encode(c.encrypt(pad(s)))
|
||||||
DecodeAES = lambda c, e: c.decrypt(base64.b64decode(e)).rstrip(PADDING)
|
DecodeAES = lambda c, e: c.decrypt(base64.b64decode(e)).rstrip(PADDING)
|
||||||
|
|
||||||
#secret = os.urandom(BLOCK_SIZE)
|
|
||||||
cipher = AES.new(secret)
|
cipher = AES.new(secret)
|
||||||
|
|
||||||
aes = EncodeAES(cipher, data)
|
aes = EncodeAES(cipher, data)
|
||||||
|
|
Loading…
Reference in a new issue