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

Error in sys.excepthook: #31

Open
chukytron opened this issue Aug 3, 2020 · 1 comment
Open

Error in sys.excepthook: #31

chukytron opened this issue Aug 3, 2020 · 1 comment

Comments

@chukytron
Copy link

hi i have tried to run the following in my kali vm by aws, and found the following issue:

/usr/share/doc/python3-impacket/examples/ntdsxtract# python3 dsusers.py /usr/local/bin/ntds.dit.export/datatable.4 /usr/local/bin/ntds.dit.export/link_table.6 --lmoutfile lm.out --ntoutfile nt.out --syshive SYSTEM.bin --passwordhashes --pwdformat john
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/share/doc/python3-impacket/examples/ntdsxtract/ntds/init.py", line 31, in simple_exception
sys.stderr.write("[!] Error!", value, "\n")
TypeError: write() takes exactly one argument (3 given)

Original exception was:
Traceback (most recent call last):
File "dsusers.py", line 27, in
from ntds.dsdatabase import *
File "/usr/share/doc/python3-impacket/examples/ntdsxtract/ntds/dsdatabase.py", line 370
else:
^
TabError: inconsistent use of tabs and spaces in indentation

can someone please help on solving this ?
thanks so much.

@ConsT27
Copy link

ConsT27 commented Jul 29, 2021

use python2

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