From cfe72800a3733b2774c84516bc650b308f44b919 Mon Sep 17 00:00:00 2001 From: david Date: Sun, 13 Jul 2008 06:31:49 +0000 Subject: [PATCH] Normalize replaceable elements. --- docs/nmap-install.xml | 10 ++--- docs/refguide.xml | 99 +++++++++++++++++++++---------------------- docs/scripting.xml | 4 +- 3 files changed, 56 insertions(+), 57 deletions(-) diff --git a/docs/nmap-install.xml b/docs/nmap-install.xml index c304d25a6..b7aadb83e 100644 --- a/docs/nmap-install.xml +++ b/docs/nmap-install.xml @@ -352,7 +352,7 @@ install. However, there are a number of options available to Most of the Unix build options are controlled by the configure script, as used in step number four above. There are dozens of command-line parameters and environmental variables which affect the way Nmap is built. Run ./configure --help for a huge list with brief descriptions. Here are the ones that are specific to Nmap or particularly important: ---prefix=directoryname + This option, which is standard to the configure scripts of most software, @@ -375,17 +375,17 @@ I would run ./configure --prefix=/home/fyodor ZenmapdisablingThis option prevents the Zenmap graphical frontend from being installed. Normally the build system checks your system for requirements such as the Python scripting language and then installs Zenmap if they are all available. -directoryname + OpenSSLdisablingThe version detection subsystem of Nmap is able to probe SSL-encrypted services using the free OpenSSL libraries. Normally the Nmap build system looks for these libraries on your system and include this capability if they are found. If they are in a location your compiler does not search for by default, but you still want them to be used, specify . Nmap then looks in directoryname/libs for the OpenSSL libraries themselves and directoryname/include for the necessary header files. Specify to disable SSL entirely. -directoryname + Nmap uses the Libpcap library for capturing raw IP packets. Nmap normally looks for an existing copy of Libpcap on your system and uses that if the version number and platform is appropriate. Otherwise Nmap includes its own recent copy of Libpcap, which has been modified for improved Linux functionality. The specific changes are described in libpcap/NMAP_MODIFICATIONS in the Nmap source directory. Because of these Linux-related changes, Nmap always uses its own Libpcap by default on that platform. If you wish to force Nmap to link with your own Libpcap, pass the option to configure. Nmap then expects the Libpcap library to be in directoryname/lib/libpcap.a and the include files to be in directoryname/include. Nmap will always use the version of Libpcap included in its tarball if you specify . -directoryname + PCRE is a Perl-compatible regular expression library available from . Nmap normally looks for a copy on your system, and then fall back to its own copy if that fails. If your PCRE library is not in your compiler's standard search path, Nmap probably will not find it. In that case you can tell Nmap where it can be found by specifying the option to configure. Nmap then expects the library files to be in directoryname/lib and the include files to be in directoryname/include. In some cases, you may wish to use the PCRE libraries included with Nmap in preference to those already on your system. In that case, specify . -directoryname + Libdnet is an excellent networking library that Nmap uses for sending raw ethernet frames. The version in the Nmap tree is heavily modified (particularly the Windows code), so the default is to use that included version. If you wish to use a version already installed on your system instead, specify . Nmap then expects the library files to be in directoryname/lib and the include files to be in directoryname/include. --with-localdirs diff --git a/docs/refguide.xml b/docs/refguide.xml index 391334470..b9b23a6d4 100644 --- a/docs/refguide.xml +++ b/docs/refguide.xml @@ -214,7 +214,7 @@ you would expect. - (Input from list) + (Input from list) target specificationfrom list @@ -240,7 +240,7 @@ you would expect. - (Choose random targets) + (Choose random targets) random targets target specificationat random @@ -268,7 +268,7 @@ you would expect. (Exclude hosts/networks) + host1,host2,... (Exclude hosts/networks) excluding targets @@ -286,7 +286,7 @@ you would expect. - (Exclude list from file) + (Exclude list from file) @@ -480,7 +480,7 @@ you would expect. - (TCP SYN Ping) + (TCP SYN Ping) SYN ping @@ -545,7 +545,7 @@ you would expect. - (TCP ACK Ping) + (TCP ACK Ping) ACK ping @@ -602,7 +602,7 @@ you would expect. - (UDP Ping) + (UDP Ping) UDP ping @@ -699,7 +699,7 @@ you would expect. - (IP Protocol Ping) + (IP Protocol Ping) IP protocol ping @@ -862,7 +862,7 @@ even if this option is not specified. - (Servers to use for reverse DNS queries) @@ -1376,8 +1376,7 @@ used. - (idle scan) + (idle scan) idle scan @@ -1479,7 +1478,7 @@ after retransmissions, the protocol is marked - (FTP bounce scan) + (FTP bounce scan) FTP bounce scan @@ -1540,7 +1539,7 @@ way. - (Only scan specified ports) + (Only scan specified ports) @@ -1749,7 +1748,7 @@ way. - (Set + (Set version scan intensity) @@ -2033,7 +2032,7 @@ way. - + Runs a script scan (like ) with the scripts you have chosen rather than the defaults. Arguments can be script categories, single scripts or directories with scripts which are to be run against the target hosts instead of the default set. Nmap will try to interpret the arguments at first as categories and afterwards as files or directories. Absolute paths are used as is, relative paths are searched in the following places until found: @@ -2065,7 +2064,7 @@ categories. - + script arguments @@ -2162,9 +2161,9 @@ or ‘h’ to the value to specify seconds, minutes, or hours. So the - ; + ; (Adjust parallel scan group sizes) + numhosts (Adjust parallel scan group sizes) @@ -2211,9 +2210,9 @@ helpful. - ; + ; (Adjust probe parallelization) + numprobes (Adjust probe parallelization) @@ -2248,10 +2247,10 @@ enough by itself. - , - , + , + , (Adjust probe timeouts) + time (Adjust probe timeouts) @@ -2303,7 +2302,7 @@ unusual and should be reported as a bug to the - (Specify the + (Specify the maximum number of port scan probe retransmissions) @@ -2339,7 +2338,7 @@ about the target. - (Give + (Give up on slow target hosts) @@ -2366,9 +2365,9 @@ for that host. - ; + ; (Adjust delay between probes) + time (Adjust delay between probes) @@ -2402,7 +2401,7 @@ threshold based intrusion detection and prevention systems - + (Specify a minimum scanning rate) @@ -2484,7 +2483,7 @@ worth the extra time. + paranoid|sneaky|polite|normal|aggressive|insane (Set a timing template) timing templatesparanoid, sneaky, polite, normal, aggressive, and insane @@ -2699,7 +2698,7 @@ lists the relevant options and describes what they do. - + (Cloak a scan with decoys) decoys @@ -2758,7 +2757,7 @@ lists the relevant options and describes what they do. - (Spoof source address) + (Spoof source address) spoofing source address @@ -2785,7 +2784,7 @@ lists the relevant options and describes what they do. - (Use specified interface) + (Use specified interface) interface @@ -2800,8 +2799,8 @@ lists the relevant options and describes what they do. - - (Spoof source port number) + + (Spoof source port number) source port number @@ -2852,7 +2851,7 @@ support the option completely, as does UDP scan. - (Append random + (Append random data to sent packets) @@ -2871,8 +2870,8 @@ support the option completely, as does UDP scan. - - (Send packets with specified ip options) + + (Send packets with specified ip options) IP options @@ -2923,7 +2922,7 @@ support the option completely, as does UDP scan. - (Set IP time-to-live field) + (Set IP time-to-live field) time to live (TTL) @@ -2961,8 +2960,8 @@ support the option completely, as does UDP scan. - (Spoof MAC address) + (Spoof MAC address) spoofing MAC address @@ -3114,7 +3113,7 @@ described below. Nmap Output Formats - (normal output) + (normal output) normal output @@ -3127,7 +3126,7 @@ described below. - (XML output) + (XML output) XML output @@ -3174,7 +3173,7 @@ described below. - (ScRipT KIdd|3 oUTpuT) + (ScRipT KIdd|3 oUTpuT) scR1pT kIddI3 output @@ -3190,7 +3189,7 @@ described below. - (grepable output) + (grepable output) grepable output @@ -3241,7 +3240,7 @@ format is available - (Output to all formats) + (Output to all formats) @@ -3436,7 +3435,7 @@ overwhelming requests. Specify to only see - (Resume aborted scan) + (Resume aborted scan) resuming scans @@ -3470,7 +3469,7 @@ overwhelming requests. Specify to only see - (Set XSL stylesheet to transform XML output) + (Set XSL stylesheet to transform XML output) @@ -3608,7 +3607,7 @@ overwhelming requests. Specify to only see - (Specify custom Nmap data file location) + (Specify custom Nmap data file location) @@ -3639,7 +3638,7 @@ overwhelming requests. Specify to only see - (Specify custom services file) + (Specify custom services file) @@ -3655,7 +3654,7 @@ overwhelming requests. Specify to only see - (Specify custom service probes file) + (Specify custom service probes file) diff --git a/docs/scripting.xml b/docs/scripting.xml index ea3a0b0d7..6323fc10b 100644 --- a/docs/scripting.xml +++ b/docs/scripting.xml @@ -386,7 +386,7 @@ $ nmap -sC --script-args user=foo,pass=bar,anonFTP={pass=ftp@foobar.com} - + @@ -3857,7 +3857,7 @@ The mainloop function will work on each runlevel grouping of threads in order. The Windows build system requires C module developers to create a MS Visual Studio Project file for their module - (<modulename>.vcproj) inside the + (modulename.vcproj) inside the nselib subdirectory. On Windows you have to include the liblua/ subdirectory as an additional include path as well as a library search path. In addition