Mailinglist Archive: opensuse-security (499 mails)

< Previous Next >
RE: [suse-security] nmap
  • From: "arawak" <arawak@xxxxxxxxxxxxxxxx>
  • Date: Thu, 6 Jun 2002 13:01:58 +0100
  • Message-id: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAjIlXp+7/qkyntG/0UeicxMKAAAAQAAAAYJSP7lkL9EygLD5lRpP6IgEAAAAA@xxxxxxxxxxxxxxxx>
I was only asking for help, but some people don't seem to realise that
not all have the same experience and need things explaining a little bit
better than the man page..

Many thanks to Christopher Mahmood [ckm@xxxxxxxx] & Leo and all those
who replied positively to my question not making me feel like a fool for
asking...

I'm not a programmer so therefore scripting isn't easy for me todo but
the more advice I get with reading from the list the better + my linux
books & the web.


this snipet was really helpful :

while read net do
nmap -oG - $net >> logfile
done < test

I finally did a which seemed to work ok.

#!/bin/bash
nmap -v -oG /dump/nmap/Nmap/test.txt -sP 195.27.*.*/32
>>test2.txt
nmap -v -oG /dump/nmap/Nmap/test.txt -sP 195.33.*.*/29
>>test2.txt
nmap -v -oG /dump/nmap/Nmap/test.txt -sP 195.76.*.*/29
>>test2.txt
nmap -v -oG /dump/nmap/Nmap/test.txt -sP 195.154.*.*/28
>>test2.txt

btw, the * are for security purposes that's why they are there...;-)

I got there in the end :)
please be patient

Dre

> -----Original Message-----
> From: Sec [mailto:security@xxxxxxxxxxx]
> Sent: 05 June 2002 22:25
> To: Peter van den Heuvel
> Cc: suse-security@xxxxxxxx
> Subject: Re: [suse-security] nmap
>
>
> I dont think its off topic. nmap is after all a security tool for
> finding open ports.
>
> Leo
> ----- Original Message -----
> From: "Peter van den Heuvel" <peter@xxxxxxxxxxxxxxxx>
> Cc: <suse-security@xxxxxxxx>
> Sent: Wednesday, June 05, 2002 5:10 PM
> Subject: Re: [suse-security] nmap
>
>
> > > I'm trying to use a file txt with a list of
> > > 194.x.x.x/24 etc & 213.x.x.x/28 etc, to my get my output parsed.
> > Could we all please consider this off-topic.
> >
> > Please have a look at one of the numerous linux / shell
> introductions.
> > I beleive that the SuSE distro even comes with a neat book that
> > describes how to use it.
> >
> > Peter
> >
> > --
> > To unsubscribe, e-mail: suse-security-unsubscribe@xxxxxxxx
> > For additional commands, e-mail: suse-security-help@xxxxxxxx
> > Security-related bug reports go to security@xxxxxxx, not here
> >
> >
> >
>
>
> --
> To unsubscribe, e-mail: suse-security-unsubscribe@xxxxxxxx
> For additional commands, e-mail: suse-security-help@xxxxxxxx
> Security-related bug reports go to security@xxxxxxx, not here
>
>


< Previous Next >
Follow Ups
References