Security Basics mailing list archives

Re: problem with nmap options


From: Jacob Bresciani <jacob () bresciani ca>
Date: Fri, 29 Jul 2005 14:39:43 -0700

curious what the first -o option is for? nmap on my system doesn't list it as an option.

What OS is this on?

On my OSX 10.4 laptop I ran the command

sudo nmap -p21,135,136,137,138,80,23,25 192.168.0.0/24 -oG /tmp/ ips.txt -sF

then checking /tmp/ips.txt it contains sections like

Host: 192.168.0.232 () Ports: 21/closed/tcp//ftp///, 23/closed/tcp// telnet///, 25/closed/tcp//smtp///, 80/closed/tcp//http///, 135/closed/ tcp//msrpc///, 136/closed/tcp//profile///, 137/closed/tcp//netbios- ns///, 138/closed/tcp//netbios-dgm///

was this the output you where looking for?

Jacob Bresciani

"Passwords are like bubble gum, strongest when fresh, should never be used by groups and create a sticky mess when left laying around"




On Jul 28, 2005, at 2:44 PM, Juan B wrote:

Hi

I want nessus to show put in the a file hosts ip
address with which ports is open so I issue this
command:

 nmap -sF -o -p21,135,136,137,138,80,23,25 -oG
/tmp/ips.txt 82.137.192.0/18

whan I cat ips.txt I just see:

ost: 82.137.194.246 () Status: Up
Host: 82.137.194.250 () Status: Up
Host: 82.137.194.253 () Status: Up
Host: 82.137.195.1 ()   Status: Up
Host: 82.137.195.2 ()   Status: Up
Host: 82.137.195.3 ()   Status: Up
Host: 82.137.195.5 ()   Status: Up
Host: 82.137.195.9 ()   Status: Up
Host: 82.137.195.10 ()  Status: Up
Host: 82.137.195.11 ()  Status: Up

this is not enough for me.

how can I fix this output?

thanks,

Juan




____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs




Current thread: