nccgroup / Winpayloads

Undetectable Windows Payload Generation
Apache License 2.0
1.56k stars 332 forks source link

from pyasn1.type.univ import noValue - impacket #48

Open smoklessfire opened 7 years ago

smoklessfire commented 7 years ago

i follow the step, then re install it with the ./setup.sh -r ... and stil get this error when strt running the python file. what seem be the probleme ?

the error response after running the file : 'XXXXXXX'~/pentest/Winpayloads# ./WinPayloads.py Traceback (most recent call last): File "./WinPayloads.py", line 2, in from lib.main import * File "/root/pentest/Winpayloads/lib/main.py", line 19, in import psexec File "/root/pentest/Winpayloads/lib/psexec.py", line 27, in from impacket import version, smb File "/usr/local/lib/python2.7/dist-packages/impacket/smb.py", line 49, in from pyasn1.type.univ import noValue ImportError: cannot import name noValue

Closecallexception commented 7 years ago

I have the exact same issue, can we have a discussion to resolve this?

Charliedean commented 7 years ago

Hi, I will look into this when I have some time. Is this a fresh install for you? If so what distro?

Charliedean commented 7 years ago

Hi guys, just done a 2 minute Google and have found the bug. It's with impacket(a module) Please see the following https://github.com/CoreSecurity/impacket/issues/355

Thanks

Himan6 commented 6 years ago

solution rm -rf /usr/local/lib/python2.7/dist-packages/impacket*

smoklessfire commented 6 years ago

hye guys, sorry, wasn't able to spend time this 2 last week, was in exams sessions ... but really thanks for the help, i moved to other payload gen, and still learning in more deep how all this work. !

reguards, smokless-fire.