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

Create adidns_dump.py #24

Merged
merged 1 commit into from
May 26, 2023
Merged

Create adidns_dump.py #24

merged 1 commit into from
May 26, 2023

Conversation

dust-life
Copy link
Contributor

Code from adidnsdump

root@test:~/ADExplorerSnapshot.py/scripts# python3 adidns_dump.py ../tests/data/detectionlab.dat
[*] Server: dc.windomain.local
[*] Time of snapshot: 2021-12-01T05:48:42
[*] Mapping offset: 0x2a5637
[*] Object count: 3848
[+] Parsing properties: 1498
[+] Parsing classes: 269
[+] Parsing object offsets: 3848
[+] Restored pre-processed information from data cache

[+] Type: NS name: @ value: f.root-servers.net.
[+] Type: NS name: @ value: m.root-servers.net.
[+] Type: NS name: @ value: g.root-servers.net.
[+] Type: NS name: @ value: k.root-servers.net.
[+] Type: NS name: @ value: j.root-servers.net.
[+] Type: NS name: @ value: b.root-servers.net.
[+] Type: NS name: @ value: c.root-servers.net.
[+] Type: NS name: @ value: d.root-servers.net.
[+] Type: NS name: @ value: a.root-servers.net.
[+] Type: NS name: @ value: i.root-servers.net.
[+] Type: NS name: @ value: l.root-servers.net.
[+] Type: NS name: @ value: h.root-servers.net.
[+] Type: NS name: @ value: e.root-servers.net.
[+] Type: AAAA name: e.root-servers.net value: 2001:500:a8::e
[+] Type: AAAA name: h.root-servers.net value: 2001:500:1::53
[+] Type: AAAA name: l.root-servers.net value: 2001:500:9f::42
[+] Type: AAAA name: i.root-servers.net value: 2001:7fe::53
[+] Type: AAAA name: a.root-servers.net value: 2001:503:ba3e::2:30
[+] Type: AAAA name: d.root-servers.net value: 2001:500:2d::d
[+] Type: AAAA name: c.root-servers.net value: 2001:500:2::c
[+] Type: AAAA name: b.root-servers.net value: 2001:500:200::b
[+] Type: AAAA name: j.root-servers.net value: 2001:503:c27::2:30
[+] Type: AAAA name: k.root-servers.net value: 2001:7fd::1
[+] Type: AAAA name: g.root-servers.net value: 2001:500:12::d0d
[+] Type: AAAA name: m.root-servers.net value: 2001:dc3::35
[+] Type: AAAA name: f.root-servers.net value: 2001:500:2f::f

@c3c
Copy link
Owner

c3c commented May 24, 2023

Ha! Good stuff. And I’m happy I hadn’t started working on this yet now :) #22

I see you primarily use the legacy DNS partition, perhaps we can extend it with Domain/ForestDnsZones.

@dust-life
Copy link
Contributor Author

Ha! Good stuff. And I’m happy I hadn’t started working on this yet now :) #22

I see you primarily use the legacy DNS partition, perhaps we can extend it with Domain/ForestDnsZones.

DomainDnsZones/ForestDnsZones are not saved in the snapshot in my tests

@c3c c3c merged commit f7ea0da into c3c:main May 26, 2023
@c3c
Copy link
Owner

c3c commented May 26, 2023

Just did some testing, and can confirm the naming contexts for (Domain|Forest)DnsZones are not being saved in the snapshot. Sad times.
Still the legacy zones may prove useful - thanks for implementing this!

@c3c c3c mentioned this pull request May 26, 2023
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

Successfully merging this pull request may close these issues.

2 participants