[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Full-Disclosure] 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
>
>

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html