2024-01-20 05:35:53 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-12 13:58:29 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2021-04-05 20:36:04 +08:00
|
|
|
<!ENTITY nmap-download-http "https://nmap.org/dist/nmap-&nmap-version;.tar.bz2">
|
2014-04-14 04:51:20 +08:00
|
|
|
<!ENTITY nmap-download-ftp " ">
|
2023-05-25 02:03:13 +08:00
|
|
|
<!ENTITY nmap-md5sum "4f65e08148d1eaac6b1a1482e7185e1d">
|
|
|
|
<!ENTITY nmap-size "11 MB">
|
|
|
|
<!ENTITY nmap-buildsize "138 MB (add 17 MB for tests)">
|
|
|
|
<!ENTITY nmap-time "0.3 SBU (Using parallelism=4; add 0.1 SBU for tests)">
|
2004-06-12 13:58:29 +08:00
|
|
|
]>
|
|
|
|
|
2003-09-26 11:06:17 +08:00
|
|
|
<sect1 id="nmap" xreflabel="Nmap-&nmap-version;">
|
2005-04-30 23:38:07 +08:00
|
|
|
<?dbhtml filename="nmap.html"?>
|
2005-05-31 00:25:18 +08:00
|
|
|
|
|
|
|
|
2005-04-30 23:38:07 +08:00
|
|
|
<title>Nmap-&nmap-version;</title>
|
2005-05-31 00:25:18 +08:00
|
|
|
|
2005-04-30 23:38:07 +08:00
|
|
|
<indexterm zone="nmap">
|
|
|
|
<primary sortas="a-Nmap">Nmap</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Nmap</title>
|
2005-05-31 00:25:18 +08:00
|
|
|
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
|
|
|
<application>Nmap</application> is a utility for network exploration
|
|
|
|
and security auditing. It supports ping scanning, port scanning and
|
|
|
|
TCP/IP fingerprinting.
|
|
|
|
</para>
|
2005-05-31 00:25:18 +08:00
|
|
|
|
2024-02-19 10:06:03 +08:00
|
|
|
&lfs121_checked;
|
2011-11-08 03:11:39 +08:00
|
|
|
|
2005-04-30 23:38:07 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&nmap-download-http;"/>
|
|
|
|
</para>
|
2005-04-30 23:38:07 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&nmap-download-ftp;"/>
|
|
|
|
</para>
|
2005-04-30 23:38:07 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &nmap-md5sum;
|
|
|
|
</para>
|
2005-04-30 23:38:07 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
|
|
|
Download size: &nmap-size;
|
|
|
|
</para>
|
2005-04-30 23:38:07 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &nmap-buildsize;
|
|
|
|
</para>
|
2005-04-30 23:38:07 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &nmap-time;
|
|
|
|
</para>
|
2005-04-30 23:38:07 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2005-05-31 00:25:18 +08:00
|
|
|
|
2005-04-30 23:38:07 +08:00
|
|
|
<bridgehead renderas="sect3">Nmap Dependencies</bridgehead>
|
2005-05-31 00:25:18 +08:00
|
|
|
|
2013-06-05 15:59:18 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
These packages are recommended because if they're not installed, the
|
|
|
|
build process will compile and link against its own (often older)
|
|
|
|
version.
|
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
|
|
|
|
<para role="recommended">
|
2023-05-25 02:03:13 +08:00
|
|
|
<xref linkend="liblinear"/>,
|
2013-06-05 15:59:18 +08:00
|
|
|
<xref linkend="libpcap"/>,
|
2023-05-25 02:03:13 +08:00
|
|
|
<xref linkend="libssh2"/>,
|
2023-06-01 04:13:39 +08:00
|
|
|
<xref linkend="lua"/>,
|
|
|
|
<xref linkend="pcre"/>, and
|
|
|
|
<xref linkend="pygobject3"/>
|
2020-03-24 05:46:15 +08:00
|
|
|
<!-- libdnet is not recommended, see:
|
|
|
|
http://nmap.org/svn/libdnet-stripped/NMAP_MODIFICATIONS
|
2013-06-05 15:59:18 +08:00
|
|
|
-->
|
|
|
|
</para>
|
|
|
|
|
2005-04-30 23:38:07 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2013-06-05 15:59:18 +08:00
|
|
|
<para role="optional">
|
2023-05-25 02:03:13 +08:00
|
|
|
<ulink url="http://code.google.com/p/libdnet/">libdnet</ulink>
|
2013-06-05 15:59:18 +08:00
|
|
|
</para>
|
2005-05-31 00:25:18 +08:00
|
|
|
|
2005-04-30 23:38:07 +08:00
|
|
|
</sect2>
|
2005-05-31 00:25:18 +08:00
|
|
|
|
2005-04-30 23:38:07 +08:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Nmap</title>
|
|
|
|
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
|
|
|
Install <application>Nmap</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2005-04-30 23:38:07 +08:00
|
|
|
|
2020-10-05 01:07:43 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
2015-11-21 02:17:07 +08:00
|
|
|
make</userinput></screen>
|
2022-09-07 10:18:08 +08:00
|
|
|
<!--
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
|
|
|
If you wish to run the test suite, run the following command:
|
|
|
|
</para>
|
2014-08-27 16:43:34 +08:00
|
|
|
|
|
|
|
<screen><userinput>sed -i 's/lib./lib/' zenmap/test/run_tests.py</userinput></screen>
|
2022-09-07 10:18:08 +08:00
|
|
|
-->
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
|
|
|
To test the results, issue: <command>make check</command> as the
|
|
|
|
<systemitem class="username">root</systemitem> user. Tests need a
|
|
|
|
graphical session.
|
|
|
|
</para>
|
2005-07-13 09:00:36 +08:00
|
|
|
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-05-31 00:25:18 +08:00
|
|
|
|
2005-04-30 23:38:07 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2005-05-31 00:25:18 +08:00
|
|
|
|
2005-04-30 23:38:07 +08:00
|
|
|
</sect2>
|
2005-05-31 00:25:18 +08:00
|
|
|
|
2020-10-05 01:07:43 +08:00
|
|
|
<!-- nmap-7.90: everything seems ok without this switch
|
2015-01-25 03:18:33 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
2020-10-05 01:07:43 +08:00
|
|
|
<parameter>- -with-liblua=included</parameter>: This switch is
|
|
|
|
required to fix compilation with <application>lua</application> 5.4.
|
2020-03-24 05:46:15 +08:00
|
|
|
</para>
|
2015-01-25 03:18:33 +08:00
|
|
|
|
|
|
|
</sect2>
|
2020-10-05 01:07:43 +08:00
|
|
|
-->
|
2015-01-25 03:18:33 +08:00
|
|
|
|
2005-04-30 23:38:07 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2013-06-05 15:59:18 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-05-31 00:25:18 +08:00
|
|
|
|
2005-04-30 23:38:07 +08:00
|
|
|
<seglistitem>
|
2014-04-20 18:50:21 +08:00
|
|
|
<seg>
|
2020-10-05 01:07:43 +08:00
|
|
|
ncat, ndiff, nmap, nping, uninstall_ndiff, uninstall_zenmap,
|
|
|
|
zenmap, and 2 symlinks to zenmap: nmapfe and xnmap
|
2014-04-20 18:50:21 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
|
|
|
<seg>
|
2023-05-25 02:03:13 +08:00
|
|
|
/usr/lib/python&python3-majorver;/site-packages/{radialnet,zenmapCore,zenmapGUI,zenmap-&nmap-version;-py&python3-majorver;.egg-info},
|
2015-11-21 02:17:07 +08:00
|
|
|
and /usr/share/{ncat,nmap,zenmap}
|
2014-04-20 18:50:21 +08:00
|
|
|
</seg>
|
2005-04-30 23:38:07 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2005-05-31 00:25:18 +08:00
|
|
|
|
2005-04-30 23:38:07 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
2005-05-31 00:25:18 +08:00
|
|
|
|
2011-11-08 03:11:39 +08:00
|
|
|
<varlistentry id="ncat">
|
|
|
|
<term><command>ncat</command></term>
|
|
|
|
<listitem>
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
|
|
|
is a utility for reading and writing data across networks from
|
2021-02-19 23:20:16 +08:00
|
|
|
the command line
|
2020-03-24 05:46:15 +08:00
|
|
|
</para>
|
2011-11-08 03:11:39 +08:00
|
|
|
<indexterm zone="nmap ncat">
|
|
|
|
<primary sortas="b-ncat">ncat</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="ndiff">
|
|
|
|
<term><command>ndiff</command></term>
|
|
|
|
<listitem>
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
is a tool to aid in the comparison of Nmap scans
|
2020-03-24 05:46:15 +08:00
|
|
|
</para>
|
2011-11-08 03:11:39 +08:00
|
|
|
<indexterm zone="nmap ndiff">
|
|
|
|
<primary sortas="b-ndiff">ndiff</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-04-30 23:38:07 +08:00
|
|
|
<varlistentry id="nmap-prog">
|
|
|
|
<term><command>nmap</command></term>
|
|
|
|
<listitem>
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
|
|
|
is a utility for network exploration and security auditing. It
|
2021-02-19 23:20:16 +08:00
|
|
|
supports ping scanning, port scanning and TCP/IP fingerprinting
|
2020-03-24 05:46:15 +08:00
|
|
|
</para>
|
2005-04-30 23:38:07 +08:00
|
|
|
<indexterm zone="nmap nmap-prog">
|
|
|
|
<primary sortas="b-nmap">nmap</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:25:18 +08:00
|
|
|
|
2020-10-05 01:07:43 +08:00
|
|
|
<!-- removed in 7.90, see CHANGELOG
|
2013-06-05 15:59:18 +08:00
|
|
|
<varlistentry id="nmap-update">
|
|
|
|
<term><command>nmap-update</command></term>
|
|
|
|
<listitem>
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
|
|
|
is an updater for Nmap architecture-independent files.
|
|
|
|
</para>
|
2013-06-05 15:59:18 +08:00
|
|
|
<indexterm zone="nmap nmap-update">
|
|
|
|
<primary sortas="b-nmap-update">nmap-update</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2020-10-05 01:07:43 +08:00
|
|
|
-->
|
2015-08-14 09:04:27 +08:00
|
|
|
<varlistentry id="nping">
|
|
|
|
<term><command>nping</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2020-03-24 05:46:15 +08:00
|
|
|
is an open-source tool for network packet generation, response
|
2021-02-19 23:20:16 +08:00
|
|
|
analysis and response time measurement
|
2015-08-14 09:04:27 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="nmap nping">
|
|
|
|
<primary sortas="b-nping">nping</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-11-21 02:17:07 +08:00
|
|
|
<varlistentry id="uninstall_ndiff">
|
|
|
|
<term><command>uninstall_ndiff</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
is a Python script to uninstall <command>ndiff</command>
|
2015-11-21 02:17:07 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="nmap uninstall_ndiff">
|
|
|
|
<primary sortas="b-uninstall_ndiff">uninstall_ndiff</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-08-14 09:04:27 +08:00
|
|
|
<varlistentry id="uninstall_zenmap">
|
|
|
|
<term><command>uninstall_zenmap</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
is a Python script to uninstall <command>zenmap</command>
|
2015-08-14 09:04:27 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="nmap uninstall_zenmap">
|
|
|
|
<primary sortas="b-uninstall_zenmap">uninstall_zenmap</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2011-11-08 03:11:39 +08:00
|
|
|
<varlistentry id="zenmap">
|
|
|
|
<term><command>zenmap</command></term>
|
|
|
|
<listitem>
|
2020-03-24 05:46:15 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
is a Python based graphical nmap frontend viewer
|
2020-03-24 05:46:15 +08:00
|
|
|
</para>
|
2011-11-08 03:11:39 +08:00
|
|
|
<indexterm zone="nmap zenmap">
|
|
|
|
<primary sortas="f-zenmap">zenmap</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-04-30 23:38:07 +08:00
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|