[3bba7e2] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3bba7e2] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[c6b192c] | 7 | <!ENTITY nmap-download-http "https://nmap.org/dist/nmap-&nmap-version;.tar.bz2">
|
---|
[142f958b] | 8 | <!ENTITY nmap-download-ftp " ">
|
---|
[5bc6c45] | 9 | <!ENTITY nmap-md5sum "4f65e08148d1eaac6b1a1482e7185e1d">
|
---|
| 10 | <!ENTITY nmap-size "11 MB">
|
---|
| 11 | <!ENTITY nmap-buildsize "138 MB (add 17 MB for tests)">
|
---|
| 12 | <!ENTITY nmap-time "0.3 SBU (Using parallelism=4; add 0.1 SBU for tests)">
|
---|
[3bba7e2] | 13 | ]>
|
---|
| 14 |
|
---|
[58bd309a] | 15 | <sect1 id="nmap" xreflabel="Nmap-&nmap-version;">
|
---|
[c7ac14c] | 16 | <?dbhtml filename="nmap.html"?>
|
---|
[50b8d8b] | 17 |
|
---|
| 18 |
|
---|
[c7ac14c] | 19 | <title>Nmap-&nmap-version;</title>
|
---|
[50b8d8b] | 20 |
|
---|
[c7ac14c] | 21 | <indexterm zone="nmap">
|
---|
| 22 | <primary sortas="a-Nmap">Nmap</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Nmap</title>
|
---|
[50b8d8b] | 27 |
|
---|
[7c56ece] | 28 | <para>
|
---|
| 29 | <application>Nmap</application> is a utility for network exploration
|
---|
| 30 | and security auditing. It supports ping scanning, port scanning and
|
---|
| 31 | TCP/IP fingerprinting.
|
---|
| 32 | </para>
|
---|
[50b8d8b] | 33 |
|
---|
[d54f002] | 34 | &lfs120_checked;
|
---|
[17262820] | 35 |
|
---|
[c7ac14c] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
[7c56ece] | 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&nmap-download-http;"/>
|
---|
| 41 | </para>
|
---|
[c7ac14c] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[7c56ece] | 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&nmap-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
[c7ac14c] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[7c56ece] | 49 | <para>
|
---|
| 50 | Download MD5 sum: &nmap-md5sum;
|
---|
| 51 | </para>
|
---|
[c7ac14c] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[7c56ece] | 54 | <para>
|
---|
| 55 | Download size: &nmap-size;
|
---|
| 56 | </para>
|
---|
[c7ac14c] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[7c56ece] | 59 | <para>
|
---|
| 60 | Estimated disk space required: &nmap-buildsize;
|
---|
| 61 | </para>
|
---|
[c7ac14c] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[7c56ece] | 64 | <para>
|
---|
| 65 | Estimated build time: &nmap-time;
|
---|
| 66 | </para>
|
---|
[c7ac14c] | 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
[50b8d8b] | 69 |
|
---|
[c7ac14c] | 70 | <bridgehead renderas="sect3">Nmap Dependencies</bridgehead>
|
---|
[50b8d8b] | 71 |
|
---|
[7b23c863] | 72 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 73 | <note>
|
---|
| 74 | <para>
|
---|
| 75 | These packages are recommended because if they're not installed, the
|
---|
| 76 | build process will compile and link against its own (often older)
|
---|
| 77 | version.
|
---|
| 78 | </para>
|
---|
| 79 | </note>
|
---|
| 80 |
|
---|
| 81 | <para role="recommended">
|
---|
[5bc6c45] | 82 | <xref linkend="liblinear"/>,
|
---|
[7b23c863] | 83 | <xref linkend="libpcap"/>,
|
---|
[5bc6c45] | 84 | <xref linkend="libssh2"/>,
|
---|
[84a5b4a] | 85 | <xref linkend="lua"/>,
|
---|
| 86 | <xref linkend="pcre"/>, and
|
---|
| 87 | <xref linkend="pygobject3"/>
|
---|
[7c56ece] | 88 | <!-- libdnet is not recommended, see:
|
---|
| 89 | http://nmap.org/svn/libdnet-stripped/NMAP_MODIFICATIONS
|
---|
[7b23c863] | 90 | -->
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
[c7ac14c] | 93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[7b23c863] | 94 | <para role="optional">
|
---|
[5bc6c45] | 95 | <ulink url="http://code.google.com/p/libdnet/">libdnet</ulink>
|
---|
[7b23c863] | 96 | </para>
|
---|
[50b8d8b] | 97 |
|
---|
[c7ac14c] | 98 | </sect2>
|
---|
[50b8d8b] | 99 |
|
---|
[c7ac14c] | 100 | <sect2 role="installation">
|
---|
| 101 | <title>Installation of Nmap</title>
|
---|
| 102 |
|
---|
[7c56ece] | 103 | <para>
|
---|
| 104 | Install <application>Nmap</application> by running the following
|
---|
| 105 | commands:
|
---|
| 106 | </para>
|
---|
[c7ac14c] | 107 |
|
---|
[8dcedec0] | 108 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[b1478b35] | 109 | make</userinput></screen>
|
---|
[ef42c7e] | 110 | <!--
|
---|
[7c56ece] | 111 | <para>
|
---|
| 112 | If you wish to run the test suite, run the following command:
|
---|
| 113 | </para>
|
---|
[274c547] | 114 |
|
---|
| 115 | <screen><userinput>sed -i 's/lib./lib/' zenmap/test/run_tests.py</userinput></screen>
|
---|
[ef42c7e] | 116 | -->
|
---|
[7c56ece] | 117 | <para>
|
---|
| 118 | To test the results, issue: <command>make check</command> as the
|
---|
| 119 | <systemitem class="username">root</systemitem> user. Tests need a
|
---|
| 120 | graphical session.
|
---|
| 121 | </para>
|
---|
[dc913a5a] | 122 |
|
---|
[7c56ece] | 123 | <para>
|
---|
| 124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 125 | </para>
|
---|
[50b8d8b] | 126 |
|
---|
[c7ac14c] | 127 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[50b8d8b] | 128 |
|
---|
[c7ac14c] | 129 | </sect2>
|
---|
[50b8d8b] | 130 |
|
---|
[8dcedec0] | 131 | <!-- nmap-7.90: everything seems ok without this switch
|
---|
[646a42e] | 132 | <sect2 role="commands">
|
---|
| 133 | <title>Command Explanations</title>
|
---|
[7c56ece] | 134 | <para>
|
---|
[8dcedec0] | 135 | <parameter>- -with-liblua=included</parameter>: This switch is
|
---|
| 136 | required to fix compilation with <application>lua</application> 5.4.
|
---|
[7c56ece] | 137 | </para>
|
---|
[646a42e] | 138 |
|
---|
| 139 | </sect2>
|
---|
[8dcedec0] | 140 | -->
|
---|
[646a42e] | 141 |
|
---|
[c7ac14c] | 142 | <sect2 role="content">
|
---|
| 143 | <title>Contents</title>
|
---|
| 144 |
|
---|
| 145 | <segmentedlist>
|
---|
| 146 | <segtitle>Installed Programs</segtitle>
|
---|
| 147 | <segtitle>Installed Libraries</segtitle>
|
---|
[7b23c863] | 148 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 149 |
|
---|
[c7ac14c] | 150 | <seglistitem>
|
---|
[bdf1c03c] | 151 | <seg>
|
---|
[8dcedec0] | 152 | ncat, ndiff, nmap, nping, uninstall_ndiff, uninstall_zenmap,
|
---|
| 153 | zenmap, and 2 symlinks to zenmap: nmapfe and xnmap
|
---|
[bdf1c03c] | 154 | </seg>
|
---|
| 155 | <seg>
|
---|
| 156 | None
|
---|
| 157 | </seg>
|
---|
| 158 | <seg>
|
---|
[5bc6c45] | 159 | /usr/lib/python&python3-majorver;/site-packages/{radialnet,zenmapCore,zenmapGUI,zenmap-&nmap-version;-py&python3-majorver;.egg-info},
|
---|
[b1478b35] | 160 | and /usr/share/{ncat,nmap,zenmap}
|
---|
[bdf1c03c] | 161 | </seg>
|
---|
[c7ac14c] | 162 | </seglistitem>
|
---|
| 163 | </segmentedlist>
|
---|
[50b8d8b] | 164 |
|
---|
[c7ac14c] | 165 | <variablelist>
|
---|
| 166 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 167 | <?dbfo list-presentation="list"?>
|
---|
| 168 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 169 |
|
---|
[17262820] | 170 | <varlistentry id="ncat">
|
---|
| 171 | <term><command>ncat</command></term>
|
---|
| 172 | <listitem>
|
---|
[7c56ece] | 173 | <para>
|
---|
| 174 | is a utility for reading and writing data across networks from
|
---|
[4c24eb0a] | 175 | the command line
|
---|
[7c56ece] | 176 | </para>
|
---|
[17262820] | 177 | <indexterm zone="nmap ncat">
|
---|
| 178 | <primary sortas="b-ncat">ncat</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
| 183 | <varlistentry id="ndiff">
|
---|
| 184 | <term><command>ndiff</command></term>
|
---|
| 185 | <listitem>
|
---|
[7c56ece] | 186 | <para>
|
---|
[4c24eb0a] | 187 | is a tool to aid in the comparison of Nmap scans
|
---|
[7c56ece] | 188 | </para>
|
---|
[17262820] | 189 | <indexterm zone="nmap ndiff">
|
---|
| 190 | <primary sortas="b-ndiff">ndiff</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
[c7ac14c] | 195 | <varlistentry id="nmap-prog">
|
---|
| 196 | <term><command>nmap</command></term>
|
---|
| 197 | <listitem>
|
---|
[7c56ece] | 198 | <para>
|
---|
| 199 | is a utility for network exploration and security auditing. It
|
---|
[4c24eb0a] | 200 | supports ping scanning, port scanning and TCP/IP fingerprinting
|
---|
[7c56ece] | 201 | </para>
|
---|
[c7ac14c] | 202 | <indexterm zone="nmap nmap-prog">
|
---|
| 203 | <primary sortas="b-nmap">nmap</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
[50b8d8b] | 207 |
|
---|
[8dcedec0] | 208 | <!-- removed in 7.90, see CHANGELOG
|
---|
[7b23c863] | 209 | <varlistentry id="nmap-update">
|
---|
| 210 | <term><command>nmap-update</command></term>
|
---|
| 211 | <listitem>
|
---|
[7c56ece] | 212 | <para>
|
---|
| 213 | is an updater for Nmap architecture-independent files.
|
---|
| 214 | </para>
|
---|
[7b23c863] | 215 | <indexterm zone="nmap nmap-update">
|
---|
| 216 | <primary sortas="b-nmap-update">nmap-update</primary>
|
---|
| 217 | </indexterm>
|
---|
| 218 | </listitem>
|
---|
| 219 | </varlistentry>
|
---|
[8dcedec0] | 220 | -->
|
---|
[6d772cc] | 221 | <varlistentry id="nping">
|
---|
| 222 | <term><command>nping</command></term>
|
---|
| 223 | <listitem>
|
---|
| 224 | <para>
|
---|
[7c56ece] | 225 | is an open-source tool for network packet generation, response
|
---|
[4c24eb0a] | 226 | analysis and response time measurement
|
---|
[6d772cc] | 227 | </para>
|
---|
| 228 | <indexterm zone="nmap nping">
|
---|
| 229 | <primary sortas="b-nping">nping</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
| 233 |
|
---|
[b1478b35] | 234 | <varlistentry id="uninstall_ndiff">
|
---|
| 235 | <term><command>uninstall_ndiff</command></term>
|
---|
| 236 | <listitem>
|
---|
| 237 | <para>
|
---|
[4c24eb0a] | 238 | is a Python script to uninstall <command>ndiff</command>
|
---|
[b1478b35] | 239 | </para>
|
---|
| 240 | <indexterm zone="nmap uninstall_ndiff">
|
---|
| 241 | <primary sortas="b-uninstall_ndiff">uninstall_ndiff</primary>
|
---|
| 242 | </indexterm>
|
---|
| 243 | </listitem>
|
---|
| 244 | </varlistentry>
|
---|
| 245 |
|
---|
[6d772cc] | 246 | <varlistentry id="uninstall_zenmap">
|
---|
| 247 | <term><command>uninstall_zenmap</command></term>
|
---|
| 248 | <listitem>
|
---|
| 249 | <para>
|
---|
[4c24eb0a] | 250 | is a Python script to uninstall <command>zenmap</command>
|
---|
[6d772cc] | 251 | </para>
|
---|
| 252 | <indexterm zone="nmap uninstall_zenmap">
|
---|
| 253 | <primary sortas="b-uninstall_zenmap">uninstall_zenmap</primary>
|
---|
| 254 | </indexterm>
|
---|
| 255 | </listitem>
|
---|
| 256 | </varlistentry>
|
---|
| 257 |
|
---|
[17262820] | 258 | <varlistentry id="zenmap">
|
---|
| 259 | <term><command>zenmap</command></term>
|
---|
| 260 | <listitem>
|
---|
[7c56ece] | 261 | <para>
|
---|
[4c24eb0a] | 262 | is a Python based graphical nmap frontend viewer
|
---|
[7c56ece] | 263 | </para>
|
---|
[17262820] | 264 | <indexterm zone="nmap zenmap">
|
---|
| 265 | <primary sortas="f-zenmap">zenmap</primary>
|
---|
| 266 | </indexterm>
|
---|
| 267 | </listitem>
|
---|
| 268 | </varlistentry>
|
---|
| 269 |
|
---|
[c7ac14c] | 270 | </variablelist>
|
---|
| 271 |
|
---|
| 272 | </sect2>
|
---|
[f45b1953] | 273 |
|
---|
| 274 | </sect1>
|
---|