Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'function' object is not iterable #28

Closed
MazenElzanaty opened this issue Jul 3, 2017 · 1 comment
Closed

TypeError: 'function' object is not iterable #28

MazenElzanaty opened this issue Jul 3, 2017 · 1 comment

Comments

@MazenElzanaty
Copy link

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

@Charliedean
Copy link
Contributor

Duplicate Issue.
#21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants