For commands like ping, it would be cool to have buffered output. a lá netcat -e /bin/bash. we can do this by modifying the cmd_exec function in the client to not directly call .communicate() and rather extract the file descriptors (in, out, err) and poll them somehow
For commands like ping, it would be cool to have buffered output. a lá
netcat -e /bin/bash
. we can do this by modifying thecmd_exec
function in the client to not directly call.communicate()
and rather extract the file descriptors (in, out, err) and poll them somehow