Full Disclosure mailing list archives

Re: Re: Full-disclosure Digest, Vol 7, Issue 25


From: lonely wolf <wolfy () nobugconsulting ro>
Date: Wed, 14 Sep 2005 14:29:39 +0300

Peer Janssen wrote:

Aditya Deshmukh wrote:

(on system you want to copy)
dd if=/dev/hda | nc otherhost 5000

If you are running bash, then you do not even need netcat:

    dd if=/dev/hda > /dev/tcp/otherhost/5000

This is interesting.

Indeed :-)

Which version of bash are you using ? I havent found it in my man page!
My guess is that it probably has nothing to do with bash but with the devices your system provides. But where is documentation for this kind of useful information anyway?


it's in bash for a long time. however not all distributions compile bash with this option activated. debian for instance does not.
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


Current thread: