[ale] [OT] Script for finding vulnerable Windows machines (sort of)

Dan Newcombe Newcombe at mordor.clayton.edu
Wed Sep 17 21:12:53 EDT 2003


you can probably use printf %03d number to get it formatted correctly.  A
little work with cut, sed or something and you're good to go.  Though
remember, any of the octets can be 2 digits!

On Wed, 17 Sep 2003, Jonathan Glass wrote:

> First off, I haven't had any caffeine in a while, so I apologize up
> front.
>
> I took the eEye scan logs (one per subnet) and wrote this little bash
> script to sort them, find the machine's MAC address and WINS name from a
> Linux DHCP server (using keys for authentication), and create a basic
> HTML report. The only thing I couldn't work out was how to insert a "0"
> before a 2-digit number in the last octet of the IP address, thus I have
> to do that by hand.  If you find this useful, great!  If you improve it,
> wonderful!  If you dislike it, or can't use it, I apologize for wasting
> bandwidth.
>
> Thanks!
> --
> Jonathan Glass
> Systems Support Specialist II
> Institute for Bioengineering & Bioscience
> Georgia Institute of Technology
> Email: jonathan.glass at ibb.gatech.edu
>



More information about the Ale mailing list