Install and set Nmap in Linux

Source: Internet
Author: User
Article Title: Install and set Nmap in Linux. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic categories. This article is the third lecture on how to use Nmap security tools in enterprise environments.

Linux is the most common platform for running Nmap tools and software. In fact, most Linux releases contain Nmap, although Nmap may not be installed by default. Even if your system already has an Nmap software, you should also consider upgrading to the latest version, download URL: http://www.insecure.org/nmap/download.html (note: not all Nmap releases have a special Nmap plan signature key. This key can be obtained from this website: http://www.insecure.org/nmap/data/nmap_gpgkeys.txt)

Linux users can choose source code installation, or choose to install binary software packages such as RPM provided by distributors. The installation of source code is more flexible. You can determine how to build the Nmap program and optimize it according to your system. The installation of binary software packages is faster and more convenient. Generally, the installation is based on the standard directory path and settings provided by the distributor. These software packages can also be managed more easily when it comes to software upgrades on the system. The Nmap package only contains command-line executable commands and data files. The Nmap frontend package also contains an X-Window graphical user interface named "NmapFE.

Compiling and installing Nmap from source code is one of the most powerful ways to install the software, which ensures that you have the latest version, moreover, Nmap can adapt to the library and directory structure of your specific system. This build system is designed to perform automatic detection as much as possible. However, there are dozens of command line parameters and environment variables that can affect the Nmap build method. I suggest you run the "./configure" command to view the Help file.

Installing Nmap through RPM is also very easy. However, if you do have a problem, for example, if your library version is very different from the library version used for initial RPM creation, you can create and install your own binary RPM from the original RPM.

To run and test Nmap, enter nmap-A-T4 scanme.insecure.org.

This command will scan the host scanme.insecure.org at the external shell prompt. The A and T4 Options start the operating system and Version Detection, and set the time template to "active ". There are more than one hundred command line options, some of which will be described in future guides.

If you encounter a problem when running the Nmap program, scroll out the screen and view the first error message. View the question in the nmap-dev.pdf file of http://seclists.org/#nmap-devwebsite. Bytes.

Because Nmap is a command line application, it is easy to run from the script and can perform accurate scanning without setting many different options. However, for administrators who do not adapt to command prompt operations, there are also some graphical user interfaces for Linux. NmapFE is the most commonly used. It provides many options for creating an appropriate Nmap command. During the building process, the Nmap command line is displayed at the bottom of the window. This is a useful method for learning command line parameters. Finally, Nmap supports many handheld computers, including Sharp's Zaurus and Compaq IPAQ. For more information, see http://www.insecure.org/nmap/install/inst-pda.html.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.