lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue Sep 13 09:11:48 2005
From: gem at rellim.com (Gary E. Miller)
Subject: Re: Full-Disclosure Digest, Vol 7, Issue 2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yo Eric!

On Mon, 12 Sep 2005, fd@...nsci.us wrote:

> What if I am otherhost?  Is there a facility for something like
> [root@...erhost]# cat /dev/tcp/me/listen/5000 > yesterhost-hda.img

Well, I can do it with just nc on the sending side. Takes a bit of work.
Only works with udp and if there is any possibility of packet loss there
will be the obvious issues..

You need two 2 sessions on the receiving host.  One on the sending
host.

First, start the listening client:

host1-screen1# cat - < /dev/udp/host2/5001

Find out what the originating port is:

host1-screen2# # netstat -n | fgrep 5001
udp        0      0 [host1]:36285    [host2]:5001      ESTABLISHED

36285 is the port we want.  Now plug that in to sending nc:

host2-screen1# ls -l | nc host1 36285  -u -p 5001

Viola!  The output of "ls -l" now appears on host1-screen1!

Prolly not what the bash maintainers had in mind, but it does work. YMMV.

RGDS
GARY
- ---------------------------------------------------------------------------
Gary E. Miller Rellim 20340 Empire Blvd, Suite E-3, Bend, OR 97701
	gem@...lim.com  Tel:+1(541)382-8588 Fax: +1(541)382-8676

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDJom18KZibdeR3qURAvFYAJ0cMbCw9LGchzSzOqpD1rNB3zerEACgq+eL
5Y6xP/UJmgK28ckA8u90qdY=
=9Iw1
-----END PGP SIGNATURE-----

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ