about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_nmap4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 106f00087..12c13cebb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-09  Oliver Kiddle  <opk@zsh.org>
+
+	* unposted: Completion/Unix/Command/_nmap: update for nmap 3.48
+
 2003-10-08  Peter Stephenson  <pws@csr.com>
 
 	* unposted: Completion/Unix/Command/.distfiles, Etc/.distfiles:
diff --git a/Completion/Unix/Command/_nmap b/Completion/Unix/Command/_nmap
index f34be5b31..f23937abc 100644
--- a/Completion/Unix/Command/_nmap
+++ b/Completion/Unix/Command/_nmap
@@ -5,9 +5,10 @@ local curcontext="$curcontext" state line suf ret=1
 _arguments -C \
   '!-sI:zombie host:_hosts' \
   '!-P'{T,S,U}'+:port list' \
-  '*-s-[specify scan type]:scan type:((S\:TCP\ SYN\ scan T\:TCP\ connect\(\)\ scan F\:stealth\ FIN\ scan X\:stealth\ Xmas\ tree\ scan N\:stealth\ null\ scan P\:ping\ scanning U\:UDP\ scan O\:IP\ prototocol\ scan I\:idle\ scan A\:ACK\ scan W\:window\ scan R\:RPC\ scan L\:list\ scan))' \
+  '*-s-[specify scan type]:scan type:((S\:TCP\ SYN\ scan T\:TCP\ connect\(\)\ scan F\:stealth\ FIN\ scan X\:stealth\ Xmas\ tree\ scan N\:stealth\ null\ scan P\:ping\ scanning U\:UDP\ scan O\:IP\ prototocol\ scan I\:idle\ scan A\:ACK\ scan W\:window\ scan R\:RPC\ scan L\:list\ scan V\:version\ detection))' \
   '-b[specify ftp relay host]:ftp relay host:_hosts' \
   '*-P-[specify probe types and options]:probe type/options:->probe-opts' \
+  '-A[enable OS detection and version scanning]' \
   '-O[enable remote OS identification]' \
   '-6[enable IPv6 support]' \
   '-I[enable TCP reverse ident scanning]' \
@@ -33,6 +34,7 @@ _arguments -C \
   '--randomize_hosts[scan hosts in random order]' \
   '-M[specify maximum number of parallel TCP connects]:maximum TCP connects' \
   '--packet_trace[show all packets sent in tcpdump-like format]' \
+  '--version_trace[show packets related to version scanning]' \
   '--datadir[specify directory containing data files]:directory:_directories' \
   '-T[specify timing policy]:timing policy:(Paranoid Sneaky Polite Normal Aggressive Insane)' \
   '--host_timeout[specify maximum time for scanning a single host]:timeout (ms)' \