Giter Site home page Giter Site logo

Issue with export about ntdsxtract HOT 6 CLOSED

csababarta avatar csababarta commented on July 2, 2024
Issue with export

from ntdsxtract.

Comments (6)

csababarta avatar csababarta commented on July 2, 2024

Hi there,

First of all thank you for the bug report.

Could you please send me some details about the problem?
How does the command look like that you used?
How big is the database?
Is it possible to reproduce the issue with a test system? (I know that the content of the database that you would like to process is confidential so I cannot get that, but maybe you have a test database that shows the same symptoms).

Thanks in advance for your support.

from ntdsxtract.

csababarta avatar csababarta commented on July 2, 2024

Hi there again,

the error code seems to refer to a conversion error. Could you please do the following?

  1. Edit the file /ntds/init.py
  2. Comment out all the lines except the one that starts with "import"
  3. Repeat the export and check if you receive a detailed error message with stack trace. If this is the case please paste it here in order for me to get some details about the bug

Thanks in advance for your help!

from ntdsxtract.

lucafred avatar lucafred commented on July 2, 2024

Hi

I have this error as well. I'm using 1.3.1 with this command line:

./dsusers.py /ntds/SAM/extract.export/datatable.3 /ntds/SAM/extract.export/link_table.5 /ntds/output/ --syshive /ntds/SAM/SYSTEM --ntoutfile /ntds/output/nthash --pwdformat ophc --passwordhashes --passwordhistory

The program initialises properly then gives this error trace:

List of users:
==============Traceback (most recent call last):
File "./dsusers.py", line 468, in
for recordid in dsMapRecordIdByTypeId[utype]:
KeyError: 1369

The database is only small, about 12Mb. Esedbexport gives the error 'unable to retrieve long value of record entry : 519', but seems to work through the file, the datatable.3 file is around 4Mb.

Thanks for your attention, great tool, I'm almost there in making it work!

from ntdsxtract.

lucafred avatar lucafred commented on July 2, 2024

I've done some more work on this. I think the problem is related to the ntds.dit file. I was using the version from %systemroot%\System32\ whereas it should have been the one from %systemroot%\NTDS. The location of the NTDS folder on my DC is not the default location. Worth checking.

from ntdsxtract.

Dargin avatar Dargin commented on July 2, 2024

That seemed to work for me aswell. thanks.

from ntdsxtract.

Methraton avatar Methraton commented on July 2, 2024

Hi,I have a similar problem:
version 1.3.1
command line is:
python dsusers.py /home/meth/ntds.dit.export_NTDS/datatable.3 /home/meth/ntds.dit.export_NTDS/link_table.5 /home/meth/wip/ --syshive /home/ameth/prod/SYSTEM --passwordhashes --lmoutfile /home/meth/lm-out.txt --ntoutfile /home/meth/nt-out.txt --pwdformat ophc --debug
The output is
[+] Started at: Mon, 12 Oct 2015 10:22:44 UTC
[+] Started with options:
[-] Extracting password hashes
[-] LM hash output filename: /home/meth/lm-out.txt
[-] NT hash output filename: /home/meth/nt-out.txt
[-] Hash output format: ophc
[+] Initialising engine...
[+] Loading saved map files (Stage 1)...
[+] Loading saved map files (Stage 2)...

List of users:
==============Traceback (most recent call last):
File "dsusers.py", line 486, in
for recordid in dsMapRecordIdByTypeId[utype]:
KeyError: 1528

I tryed the SYSTEM from %systemroot%\System32\ and from %systemroot%\NTDS, with the same result.
Can someone help me?

from ntdsxtract.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.