iagox86 / dnscat2

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

Let the server send a 'more' flag #66

Open iagox86 opened 9 years ago

iagox86 commented 9 years ago

When a server has more than one packet-worth of data to send, there should be an option for the server to indicate to clients that 'more' data is coming. This is a protocol change, so I'm filing this as a bug rather than just making the change. I will eventually do this, though!

A good test case is to use the 'process' setting from (currently) the server-cleanup branch to run /bin/sh for every session (note: you shouldn't do that generally). If you run a long command, like "dmesg", it only sends messages once/second, which is slowwwwwwwwww.