Home page logo
/

nmap-dev logo Nmap Development mailing list archives

答复: why i can`t use the option --host-time
From: "liuruihong" <liuruihong () baidu com>
Date: Tue, 11 Dec 2007 10:05:30 +0800

Yes,as you said,it run okay if i change the command to:
nmap -n -T4 211.94.144.0/24 >> result-t3
today I find there are two versions of nmap in my system,when I ran my
script from the command line(nmap -n -T4 211.94.144.0/24 >> result-t3),it
choosed the right version of nmap 4.20,but when I ran the script from the
crontab,it choosed the older version of nmap 3.70. 
thank you very much!
-----邮件原件-----
发件人: nmap-dev-bounces () insecure org [mailto:nmap-dev-bounces () insecure org]
代表 Rob Nicholls
发送时间: 2007年12月10日 21:51
收件人: liuruihong
抄送: nmap-dev () insecure org
主题: Re: why i can`t use the option --host-time

Although the command

  nmap -n -T4 --initial-rtt-timeout 1000 --host-timeout 1800000
211.94.144.0/24 >> result-t3

is valid on current versions of nmap, it appears that you're running a
pretty old version (I think it dates back to August 2004ish?) on that
host.

Nmap 3.70 Usage: nmap [Scan Type(s)] [Options] <host or net list>

Checking my copy of Nmap 3.81 (the earliest version I still have to hand),
if I try and run that command the first thing it does is tell me:

nmap: unrecognized option `--initial-rtt-timeout'

Which probably means it's not present in 3.70 either. I suspect it's
displaying the usage because the options you're sending it aren't
recognised. You probably either need to update nmap on the host or read
the usage to check which options are valid and make sure you stick to
those. I suspect neither --initial-rtt-timeout nor --host-timeout are
supported by 3.70. Does it run okay if you change the command to:

nmap -n -T4 211.94.144.0/24 >> result-t3

?


Rob



_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org



_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]