We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running massdns in bruteforce mode, the output in JSON will sometimes contain invalid escape sequences (e.g. when using the wordlist on https://gist.github.com/jhaddix/86a06c5dc309d08580a018c66354a056):
~/massdns/scripts/subbrute.py ~/wordlists/all.txt google.com | massdns -r ~/resolvers.txt -t A -o J | grep '\\'
Output:
{"query_name":"\x03\x00\x05\x08\x02\x00\x05\x0d.google.com.","query_type":"A","resp_name":"google.com.","resp_type":"SOA","data":"ns1.google.com. dns-admin.google.com. 241673399 900 900 1800 60"}
This is considered invalid JSON:
echo '{"query_name":"\x03\x00\x05\x08\x02\x00\x05\x0d.google.com.","query_type":"A","resp_name":"google.com.","resp_type":"SOA","data":"ns1.google.com. dns-admin.google.com. 241673399 900 900 1800 60"}' | jq '.' parse error: Invalid escape at line 1, column 60
A solution could be to encoding as Unicode instead, i.e.
{"query_name":"\u0003\u0000\u0005\u0008\u0002\u0000\u0005\u000d.google.com.","query_type":"A","resp_name":"google.com.","resp_type":"SOA","data":"ns1.google.com. dns-admin.google.com. 241673399 900 900 1800 60"}
The text was updated successfully, but these errors were encountered:
This should have been fixed by 6b74007.
Sorry, something went wrong.
No branches or pull requests
When running massdns in bruteforce mode, the output in JSON will sometimes contain invalid escape sequences (e.g. when using the wordlist on https://gist.github.com/jhaddix/86a06c5dc309d08580a018c66354a056):
Output:
This is considered invalid JSON:
A solution could be to encoding as Unicode instead, i.e.
The text was updated successfully, but these errors were encountered: