Site Tools


nc
принимающая:
nc -l 1234 | dd of=/tmp/image.img bs=4096
отдающая:
dd if=/dev/sda bs=4096 | nc 1.2.3.4 1234
out: nc localhost 12345 < /any/file
in: nc -l 12345 > any_file.img
nc -l 1234 | bzip2 -d|dd of=/tmp/image.img bs=4096
dd if=/dev/sda bs=4096| bzip2 -9 | nc 1.2.3.4 1234
You could leave a comment if you were logged in.
nc.txt · Last modified: 2011/09/17 00:00 (external edit)

Page Tools