Skip to content
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.

Error importing module #7

Open
bucky67gto opened this issue Aug 22, 2017 · 2 comments
Open

Error importing module #7

bucky67gto opened this issue Aug 22, 2017 · 2 comments

Comments

@bucky67gto
Copy link

Looks very useful. After installing I unfortunately am receiving the following:

Traceback (most recent call last):
File "portia.py", line 9, in
from deps.secretsdump import *
File "/root/portia/deps/secretsdump.py", line 56, in
from impacket.examples.secretsdump import LocalOperations, RemoteOperations, SAMHashes, LSASecrets, NTDSHashes
ImportError: No module named secretsdump

any thoughts? Thanks

@S3cur3Th1sSh1t
Copy link

I fixed this one by replacing secretsdump.py with the actual impacket one:

https://github.com/CoreSecurity/impacket/blob/master/examples/secretsdump.py

But than i get another new error:

from impacket.krb5.pac import PKERB_VALIDATION_INFO, KERB_VALIDATION_INFO, KERB_SID_AND_ATTRIBUTES, PAC_CLIENT_INFO,
ImportError: No module named pac

Reinstall impacket doesnt help.

@S3cur3Th1sSh1t
Copy link

I just found the Solution for me.

Try to run python -->
from impacket import version
version

My impacket Module files were in the /home/.local/lib/python2.7/site-packages/impacket directory. I Just updated all those files with the newest Impacket files, now it works.

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

No branches or pull requests

2 participants