TypeError: 'function' object is not iterable
MazenElzanaty opened this issue · 1 comments
Traceback (most recent call last):
File "./WinPayloads.py", line 41, in
getAndRunMainMenu()
File "/root/Winpayloads/lib/menu.py", line 61, in getAndRunMainMenu
mainMenu.runmenu()
File "/root/Winpayloads/lib/menu.py", line 115, in runmenu
result = extrawork(payloadchoice,payload)
File "/root/Winpayloads/lib/preparepayload.py", line 89, in httpsPayloadGeneration
GeneratePayload(ez2read_shellcode,payloadname,shellcode)
File "/root/Winpayloads/lib/generatepayload.py", line 59, in GeneratePayload
Filesave.write(do_Encryption(SHELLCODE.injectwindows % (ez2read_shellcode)))
File "/root/Winpayloads/lib/encrypt.py", line 29, in do_Encryption
encrypto = AES.new(key, AES.MODE_CTR, counter=lambda: counter)
File "/usr/local/lib/python2.7/dist-packages/Crypto/Cipher/AES.py", line 264, in new
return _create_cipher(sys.modules[name], key, mode, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/Crypto/Cipher/init.py", line 130, in _create_cipher
return modes[mode](factory, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/Crypto/Cipher/_mode_ctr.py", line 319, in _create_ctr_cipher
_counter = dict(counter)
TypeError: 'function' object is not iterable
Duplicate Issue.
#21