iagox86 / dnscat2

BSD 3-Clause "New" or "Revised" License
3.4k stars 599 forks source link

Fix cache-hit induced server crash #142

Closed Iorpim closed 5 years ago

Iorpim commented 5 years ago

Whenever there's a cache hit the server crashes with an "incorrect number of arguments" exception for reply!, this [mildly-mediocre] fix corrects all the instances which pass an argument to reply! by just dropping it, the default value ensures it doesn't break anywhere else.

iagox86 commented 5 years ago

Thanks!