RE: [suse-security] nmap
I've read the online man page but nothing there would get the format correct I require. 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. So far I use this command "nmap -v -v -oN c:\test -sP 194.183.x.x./27". But I want to use a file with a lot of similar addresses against nmap. Dre :)
-----Original Message----- From: Ste [mailto:estebantodoloco@inwind.it] Sent: 05 June 2002 17:58 To: arawak Subject: Re: [suse-security] nmap
Alle 18:27, mercoledì 5 giugno 2002, arawak ha scritto:
What would the command options to get this type of output using Nmap. [cut] I'm new to the scanning with nmap... But I want to learn.
man nmap
Dre ..
* arawak (arawak@blueyonder.co.uk) [020605 11:50]:
I've read the online man page but nothing there would get the format correct I require.
You didn't read far enough.
So far I use this command "nmap -v -v -oN c:\test -sP 194.183.x.x./27".
while read net do nmap -oG - $net >> logfile done < test -- -ckm
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
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@bank-connect.com> Cc: <suse-security@suse.com> 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@suse.com For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
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. I dont think its off topic. nmap is after all a security tool for finding open ports. Yeah, but output redirection, greps and shell loops are not. Besides, looking for 194.x.x.x/24 does not realy make sense, does it?
Peter
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@suse.com] & 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@fastmail.fm] Sent: 05 June 2002 22:25 To: Peter van den Heuvel Cc: suse-security@suse.com 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@bank-connect.com> Cc: <suse-security@suse.com> 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@suse.com For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
-- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
[ yes, it's sad -- I'm contributing to the off topic thread in the hope to see these things reduced in the future ... ] On Thu, Jun 06, 2002 at 13:01 +0100, arawak wrote:
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..
You missed the most important part: You haven't been rejected for asking something. You have been rejected for asking something _unrelated_ in _this_ list. This was done to actually *help* all the list members (keep the articles on topic, keep the volume "managable" -- no I won't say "low"). If there wasn't a line drawn we soon would discuss _anything_ here making the list useless and merely wasteful. Please reread the answers and rethink your "they told me I would be dumb" impression. Learn to differ between a "f**k off" and a "not here please, go _there_ instead"! Remember that political correctness is only about being kind and not really about being friendly or even helpful. Telling you what to read on your own or which field to research is more help than holding your hands and walking you through a single task when you wouldn't learn a thing in this process (and come back to cry for help with the next little problem). Should you need this kind of hand holding go and get a support contract but don't try to (ab)use other people's precious spare time. Please consider this side of the medaille and you suddenly know where certain reactions come from. PS: Of course should the subject's acronym be expanded to "R *this* FM" for being helpful. But that's what we all know. It's just that some people are scared by the words "please do your homework before using others' resources" when they before were being spoon fed. :) virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you.
I think its for the owner of the list to decide whether a topic is OT or not. Any subscriber or someone posting messages here has no right to say rude things to anyone. I am surprised how some people (who are just subscribers like others) start acting like the czars of those mailing lists and message boards. If the owner of this list (ie Suse) decides a post to be off topic, they can simply tell the poster. They are well-informed people and know about their network's capacity to handle these posts. Anyone else who cannot answer the poster's question, should keep their rude mouth shut. These are my thoughts and I do not expect everyone to agree with me. I will not be posting any replies to this post as that will be OT. Any angry soul can contact me directly on my email Thanks Leo Gerhard Sittig wrote:
[ yes, it's sad -- I'm contributing to the off topic thread in the hope to see these things reduced in the future ... ]
On Thu, Jun 06, 2002 at 13:01 +0100, arawak wrote:
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..
You missed the most important part: You haven't been rejected for asking something. You have been rejected for asking something _unrelated_ in _this_ list. This was done to actually *help* all the list members (keep the articles on topic, keep the volume "managable" -- no I won't say "low"). If there wasn't a line drawn we soon would discuss _anything_ here making the list useless and merely wasteful. Please reread the answers and rethink your "they told me I would be dumb" impression. Learn to differ between a "f**k off" and a "not here please, go _there_ instead"! Remember that political correctness is only about being kind and not really about being friendly or even helpful. Telling you what to read on your own or which field to research is more help than holding your hands and walking you through a single task when you wouldn't learn a thing in this process (and come back to cry for help with the next little problem). Should you need this kind of hand holding go and get a support contract but don't try to (ab)use other people's precious spare time. Please consider this side of the medaille and you suddenly know where certain reactions come from.
PS: Of course should the subject's acronym be expanded to "R *this* FM" for being helpful. But that's what we all know. It's just that some people are scared by the words "please do your homework before using others' resources" when they before were being spoon fed. :)
virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net
* In Search of Security (security@fastmail.fm) [020606 11:52]:
I think its for the owner of the list to decide whether a topic is OT or not.
OK, it was off topic. I should have never replied to it.
If the owner of this list (ie Suse) decides a post to be off topic, they can simply tell the poster. They are well-informed people and know about their network's capacity to handle these posts.
I've never seen Gerhard (anyone else that has complained about OT postings here for that matter) to be wrong about what is considered off topic, sorry. It's officially dead now. -- -ckm
participants (6)
-
arawak
-
Christopher Mahmood
-
Gerhard Sittig
-
In Search of Security
-
Peter van den Heuvel
-
Sec