How to install Nmap 7.80 on Ubuntu, Fedora, Redhat, SUSE Linux

Nmap 7.80 has been released . What is Nmap? Nmap (Network Mapper) is a free open source utility for network discovery and security auditing. It is useful for network inventory, managing service upgrade plans, and monitoring host or service uptime and other tasks. Nmap in a novel way to use the original IP data packet to determine the host available on the network, services provided by these hosts (application name and version), running the operating system (and OS version), packet filter / firewall type , there are many other features are in use.

It is designed to quickly scan large networks, but can work on a single host. Nmap runs on all major computer operating systems, the official binary package is available for Linux, Windows and Mac OS X. In addition to the classic command-line Nmap executable outside, Nmap kit also includes an advanced GUI and results viewer (Zenmap), flexible data transfer, redirect, and debugging tools (Ncat), utility (Ndiff) for comparing the scanning result, and response packet generation and analysis tools (Nping).

Nmap even appeared in 12 films, including The Matrix Reloaded, Die Hard 4, Girl with the Dragon Tattoo and The Bourne Ultimatum.

Nmap flexible, powerful, portable, free, acclaimed, support, popular

Flexible: Supports dozens of advanced techniques for mapping full IP filters, firewalls, network routers, and other obstacles. This includes many port scanning mechanisms (including TCP and UDP), OS detection, version detection, ping scanning. Refer to the documentation page.

Powerful: Nmap has been used to scan a vast network of hundreds of thousands of machines.

Portable: supports most operating systems, including Linux, Microsoft Windows, FreeBSD, OpenBSD, Solaris, IRIX, Mac OS X, HP-UX, NetBSD, Sun OS, Amiga and so on.

Simple: While Nmap offers a wealth of advanced features for advanced users, but you can be like "nmap -v -A targethost" as the beginning. Traditional command line and graphical (GUI) versions to meet your preferences. Binary files are for those who do not wish to compile Nmap from source of.

Free: Nmap The main objective of the project is to help make the Internet more secure, and administrators / auditors / hackers provide advanced tools to explore their networks. Nmap can be downloaded for free, also comes with complete source code, you can modify and redistribute according to the license terms.

Good record: has comprehensive and up to date manual pages, white papers, tutorials, and even the whole book made great efforts! Multilingual articles found here.

Support: While Nmap is no guarantee, but it was supported by the developer and user communities vibrant. Most of these interactions occur in the Nmap mailing list. After the most error reports and questions should be sent to nmap-dev list, but only if you read the guide. We recommend that all users subscribe to the low traffic nmap-hackers announcement list. You can also find Nmap on Facebook and Twitter. For real-time chat, join channel on Freenode or #nmap EFNet.

Critical acclaim: Nmap has won numerous awards, including Linux Journal, Info World and Codetalker Digest's "annual information security products." It has appeared in hundreds of magazine articles, several movies, dozens of books and a comic book series. The news page for more details.

Using the RPM package management system to quickly and easily install binary packages.

And gradually start terminal window type the following code in the terminal (the terminal to copy and paste)

For 64

rpm -vhU https://nmap.org/dist/nmap-7.80-1.x86_64.rpm
rpm -vhU https://nmap.org/dist/zenmap-7.80-1.noarch.rpm
rpm -vhU https: / /nmap.org/dist/ncat-7.80-1.x86_64.rpm
rpm -vhU https://nmap.org/dist/nping-0.7.80-1.x86_64.rpm

对于32位
rpm -vhU https://nmap.org/dist/nmap-7.80-1.i686.rpm
rpm -vhU https://nmap.org/dist/zenmap-7.80-1.noarch.rpm
rpm -vhU https://nmap.org/dist/ncat-7.80-1.i686.rpm
rpm -vhU https://nmap.org/dist/nping-0.7.80-1.i686.rpm

How to use the source code to install Nmap 7.80

And gradually start terminal window type the following code in the terminal (the terminal to copy and paste)

Download the latest Nmap: nmap-7.80.tar.bz2  or gzip compressed

bzip2 -cd nmap-7.80.tar.bz2 | tar xvf -
cd nmap-7.80
./configure
make
su root
make install

And gradually start terminal window type the following code in the terminal (the terminal to copy and paste)

https://nmap.org/dist/nmap-7.80.tar.bz2 wget
bzip2 -cd nmap-7.80.tar.bz2 | tar xvf -
cd nmap-7.80
./configure
make
sudo su
make install

The actual installation excerpt:

How to install Nmap 7.80 on Ubuntu, Fedora, Redhat, SUSE Linux

This last step tips:

Error message

configure: error: Neither flex nor lex was found.
configure: error: ./configure failed for libpcap

How to install Nmap 7.80 on Ubuntu, Fedora, Redhat, SUSE Linux

Solutions are as follows:

How to install Nmap 7.80 on Ubuntu, Fedora, Redhat, SUSE Linux

Then again ./configure, after the last correctly as shown below:

......
config.status: creating Makefile
config.status: creating config.h
            .       .
            \`-"'"-'/
             } 6 6 {
            ==. Y ,==
              /^^^\  .
             /     \  )  Ncat: A modern interpretation of classic Netcat
            (  )-(  )/
            -""---""---   /
           /   Ncat    \_/
          (     ____
           \_.=|____E
Configuration complete.

          :================:
         /||# nmap -A _   ||
        / ||              ||
       |  ||              ||
        \ ||              ||
          ==================
   ........... /      \.............
   :\        ############            \
   : ---------------------------------
   : |  *   |__________|| ::::::::::  |
   \ |      |          ||   .......   |
     --------------------------------- 8

  NMAP IS A POWERFUL TOOL -- USE CAREFULLY AND RESPONSIBLY
Configured with: ndiff zenmap nping openssl zlib libssh2 lua ncat
Configured without: localdirs nmap-update
Type make (or gmake on some *BSD machines) to compile.

How to install Nmap 7.80 on Ubuntu, Fedora, Redhat, SUSE Linux

Then start make

......

How to install Nmap 7.80 on Ubuntu, Fedora, Redhat, SUSE Linux

At last

sudo su
make install

View Version:

nmap -v

How to install Nmap 7.80 on Ubuntu, Fedora, Redhat, SUSE Linux

Guess you like

Origin www.linuxidc.com/Linux/2019-08/160068.htm