[5083] in bugtraq

home help back first fref pref prev next nref lref last post

Re: INND causes cancer in laboratory rats (fwd)

daemon@ATHENA.MIT.EDU (thoth@PURPLEFROG.COM)
Fri Aug 1 20:21:27 1997

Date: 	Fri, 1 Aug 1997 16:26:40 -0400
Reply-To: thoth@PURPLEFROG.COM
From: thoth@PURPLEFROG.COM
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  Your message of "Fri, 01 Aug 1997 11:38:30 EDT." 
              <Pine.LNX.3.96.970801113741.21315A-100000@arena.cwnet.com>

Dan Fleisher <method@arena.cwnet.com> ,in message <Pine.LNX.3.96.970801113741.2
        1315A-100000@arena.cwnet.com>, wrote:

> ---------------------------- nnrp.c --------------------------------------
> /*
>  * Remote exploit for INN version < 1.6. Requires 'innbuf' program to operate
>> .
>  * To compile: cc nnrp.c -o nnrp. Usage: nnrp <host> <file generated by innbu
>> f>.
>  * (C) 1997 by Method of Dweebs <method@arena.cwnet.com>
>  */

  Consider using the "hose" program from the Netpipes package.

http://www.purplefrog.com/~thoth/netpipes/

  I suspect it can be a convenient wrapper for the network functionality of
the nnrp.c program you posted, allowing you to concentrate on just copying
data around.

``
The netpipes package makes TCP/IP streams usable in shell scripts. It can also
simplify client/server code by allowing the programmer to skip all the tedious
programming bits related to sockets and concentrate on writing a
filter/service.

faucet is the server end of a TCP/IP stream. It listens on a port of the local
machine waiting for connections. Every time it gets a connection it forks a
process to perform a service for the connecting client.

hose is the client end of a TCP/IP stream. It actively connects to a remote
port and execs a process to request a service.
''

  It might even be as simple as

  hose usenet.victim.com nntp -fd3 sh -c "cat <&3 & cat innbuf.out >&3; cat >&3 ; sockdown "

  If you need to attach a descriptor to a network socket for a quick hack, use
faucet or hose.

--
Bob Forsman                                   thoth@gainesville.fl.us
           http://www.gainesville.fl.us/~thoth/

home help back first fref pref prev next nref lref last post