OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: extracting IPs from mail log

From: Tony Earnshaw (tonyebilly.demon.nl)
Date: Sun Oct 03 2004 - 09:23:57 CDT


søn, 03.10.2004 kl. 02.28 skrev Robin Lynn Frank:

> Len Conrad <LConradGo2France.com> wrote:
>
> > here's a more complete one, grabs IPs and Class C's:
> >
> Wow!!!! That has got to be the coolest thing I've seen in a long time.
> I wish I had the talent to write stuff like that. Thanks.

You probably do, if you try hard enough ;) Len's script is useless for
this particular rig, where all mail is received from a single, mailkick
MTA. However, as previously advised (by Magnus and others), use the idea
and adapt ("adapt and embrace?" :) Len himself said that the thing is a
template, the fundament is very valuable.

> BTW, for anyone trying this, you may have to remove possible extra
> newlines at lines 19 and 39 due to MUA linewrapping

There are more ...

--Tonni

--
«Livet er ein gamp», sa øyken.
I can confirm this.

mail: tonyebilly.demon.nl
http://www.billy.demon.nl

They love us, don't they, They feed us, won't they