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

Fix type: unknown and class: unknown in query #1

Closed
cavoq opened this issue Apr 8, 2023 · 1 comment
Closed

Fix type: unknown and class: unknown in query #1

cavoq opened this issue Apr 8, 2023 · 1 comment

Comments

@cavoq
Copy link
Owner

cavoq commented Apr 8, 2023

When the script is executed, it seems that there is a byte shift happening when sending the packet, thus the dns segment is polluted. The ip packet looks correct. Here is the output of wireshark:

Screenshot from 2023-04-08 18-47-40

@cavoq
Copy link
Owner Author

cavoq commented Apr 8, 2023

Fixed the issue was inside the question construction, the null byte to signal the end of the domain was inside the loop for the labels.

@cavoq cavoq closed this as completed Apr 8, 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

No branches or pull requests

1 participant