[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.58.0403072301430.2227@rosetta.temerity.net>
From: m.mohr at laposte.net (m.mohr@...oste.net)
Subject: mydoom.c information
On Sun, 7 Mar 2004, Frank Knobbe wrote:
> On Sun, 2004-03-07 at 19:47, Chris Eagle wrote:
> > > As I recall the -L option (persistent listener) only works on the windows
> > > port.
> > >
> >
> > If you want it for Unix:
>
> How about?
>
> while true;do nc -l -p 1234;done
The problem with that is that there is no incrementing counter. The
output never gets written to file, since nc sends data directly to stdout.
Which is why I had an 'x' variable in my loop - it conveniently increments
by one each iteration, thus generating a new filename.
3127.1
3127.2
3127.3
etc
-Mike
>
> Forrest? Trees?
> -Frank
>
>
Powered by blists - more mailing lists