|
|
|
|
|
by yjftsjthsd-h
1150 days ago
|
|
> I'd figure out a way to get `sz` on to a host and exfiltrate data to my heart's content with ZMODEM like we did back in the day. Probably as easy as `cat > sz` and then paste it over the wire? Maybe run through base64 first. Although actually depending on the situation you might be able to just do that directly and not bother with this? Like just as a super simple non-scientific test: $ ssh someserver cat /bin/ls > ./test-ls
$ ssh someserver md5sum /bin/ls ; md5sum ./test-ls
b3535289b2932e25650074aa6d89bf3c /bin/ls
b3535289b2932e25650074aa6d89bf3c ./test-ls
That looks to work. |
|
scp is miserably slow on transferring lots of small files and this can be wildly faster, plus you get your choice of compression program based on what is on each side of the connection and what the bandwidth vs. CPU is.