iagox86 / dnscat2

BSD 3-Clause "New" or "Revised" License
3.43k stars 601 forks source link

fix dnscatexception #41

Closed izhan closed 9 years ago

izhan commented 9 years ago

the DnscatException is currently not being raised since response.length throws an error. Changing response.length to response.to_bytes().length