Skip to content

Fix querying record without rights - #60

Open
laxa wants to merge 1 commit into
dirkjanm:masterfrom
laxa:fix_querying_without_rights
Open

Fix querying record without rights#60
laxa wants to merge 1 commit into
dirkjanm:masterfrom
laxa:fix_querying_without_rights

Conversation

@laxa

@laxa laxa commented Oct 1, 2025

Copy link
Copy Markdown
Contributor

Hello, when querying DNS records, sometimes, right to list attributes of an entry is not given. In such case, dnstool.py incorrectly states the record was not found.
This PR fixes this behavior by querying all entries of the zone to identify if a record is present and the output has been modified to warn when the entry exists but not information could be extracted:

$ python3 dnstool.py -u DOMAIN\\USER -p $PASSWORD -port 389 -dc-ip 10.1.1.11 -r '*' -a query 10.1.1.11
[-] Connecting to host...
[-] Binding to host
[+] Bind OK
[+] Record found but no rights to list attributes

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.

1 participant