themactep.com

A home of miscellaneous projects by Paul Philippov.

Notes

How to dd over telnet

Start server on the receiving machine

$ nc -l -p 12345 | bzip2 -d | dd bs=1M of=dd_dump.bin

then on the sending machine run

# dd bs=1M if=/dev/sda | bzip2 -c | nc 192.168.1.7 12345