Re: [Full-disclosure] Re: Full-Disclosure Digest, Vol 7, Issue 25

2005-09-15 Thread fd
On Wed, 14 Sep 2005, Peer Janssen wrote: I never found information about the following recurrent question of mine either: If a plug in an USB storage device, it has a /dev/sg... assigned to it. But which one? I need to know this mapping in order to mount it. I always deduce this device's

Re: [Full-disclosure] Re: Full-Disclosure Digest, Vol 7, Issue 25

2005-09-14 Thread Peer Janssen
lonely wolf wrote: 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

Re: [Full-disclosure] Re: Full-Disclosure Digest, Vol 7, Issue 25

2005-09-13 Thread Gary E. Miller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yo Druid! On Mon, 12 Sep 2005 [EMAIL PROTECTED] wrote: Purchase? no. You can dd the drive and use a utility to recognize files within the unallocated space, I just had to do this a couple nights ago so: (on system you want to copy) dd

Re: [Full-disclosure] Re: Full-Disclosure Digest, Vol 7, Issue 25

2005-09-13 Thread Gary E. Miller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yo Eric! On Mon, 12 Sep 2005, [EMAIL PROTECTED] wrote: What if I am otherhost? Is there a facility for something like [EMAIL PROTECTED] cat /dev/tcp/me/listen/5000 yesterhost-hda.img I just spent some time with man bash and the bash source code

RE: [Full-disclosure] Re: Full-Disclosure Digest, Vol 7, Issue 25

2005-09-13 Thread Aditya Deshmukh
(on system you want to copy) dd if=/dev/hda | nc otherhost 5000 (on your lappy or whatever) nc -l -p 5000 | dd of=./blah That's a cool way to do it! We always use ssh pipes but the crypto overhead is sometimes unnecessarily slow. A great piece of *nixfoo. I have been using

RE: [Full-disclosure] Re: Full-Disclosure Digest, Vol 7, Issue 25

2005-09-13 Thread Aditya Deshmukh
(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. Which version of bash are you using ? I havent found it in my man page!

Re: [Full-disclosure] Re: Full-Disclosure Digest, Vol 7, Issue 25

2005-09-13 Thread Peer Janssen
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

RE: [Full-disclosure] Re: Full-Disclosure Digest, Vol 7, Issue 25

2005-09-13 Thread Gary E. Miller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yo Aditya! On Wed, 14 Sep 2005, Aditya Deshmukh wrote: If you are running bash, then you do not even need netcat: dd if=/dev/hda /dev/tcp/otherhost/5000 This is interesting. Which version of bash are you using ? I havent found it in my

Re: [Full-disclosure] Re: Full-Disclosure Digest, Vol 7, Issue 25

2005-09-13 Thread Gary E. Miller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yo Peer! On Wed, 14 Sep 2005, Peer Janssen wrote: 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