blechschmidt / massdns

A high-performance DNS stub resolver for bulk lookups and reconnaissance (subdomain enumeration)
GNU General Public License v3.0
3.08k stars 460 forks source link

dns_print_readable: More Significant bits always zero, only shift by 4 #74

Closed zirngibl closed 4 years ago

zirngibl commented 4 years ago

At the moment, the more significant bits of each byte are 0 after dns_print_readable. Each byte is shifted by 8 instead of 4 always resulting in 0.