In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to install NMAP on Linux systems. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
NMAP is a popular network scanning and sniffing tool, which is widely used in the field of hackers for vulnerability detection and security scanning, so how to install NMAP in Linux systems?
About NMAP: NMAP (Network Mapper) is an open source tool for network exploration and security auditing.
Nmap uses raw IP messages in a novel way to discover some hosts on the network, what services those hosts provide (application name and version), what operating system those services run (including version information), what type of message filters / firewalls they use, and a host of other features.
Although Nmap is commonly used for security auditing, many system administrators and network administrators also use it to do some daily work, choose to view information across the network, manage service upgrade plans, and monitor the operation of hosts and services.
Linux system installation NMAP detailed steps: different Linux distribution package management generally comes with nmap tools, here choose to download the source package to the official website to compile and install, nmap's official website is: https://nmap.org/ due to some city wall reasons, open will be slow or connection failure, so give nmap Chinese website address: http://www.nmap.com.cn/ Chinese website also has a more complete manual Choose the Linux version of the binary package to download here
The download address also points to the official website. After downloading, you are ready to install it.
First, decompress and enter the source code directory:
Tar-xjvf nmap-7.31.tar.bz2 cd nmap-7.31/ then performs the compilation using the default parameters:
After installation such as. / configure make make install, the nmap command can be used directly. Executing nmap directly will give detailed usage parameters. Executing nmap-v will output the current version number.
Now you can execute the simplest command to scan a host. For example, nmap 192.168.0.42 does not add any parameters. By default, it is equivalent to the-sS parameter, that is, TCP SYN Scan. This method does not require a complete handshake with the server to return information, and the advantage of sending SYN packets is that no sessions will be generated and no logs will be generated on the server. After confirmation, the scan is started, and the current command is blocked. Press enter, and the current execution progress will be displayed:
Detailed results are displayed when the scan is complete:
The scan results first show that the host is open, the corresponding port open indicates that it is open normally, and the following SERVICE is a rough service that nmap can detect. Filtered says that some ports may be open, but the status is unknown because they are not monitored by the program or intercepted and filtered by other software such as firewalls. You can see that it is very convenient to use, and there is no need to manually check the port.
Using nmap, you can also detect the operating system of the remote host, for example: nmap-O 192.168.0.46 returns the following information after execution:
You can see that port 22 is open, and the system type is Linux, as well as approximate kernel version number information.
In addition, the ip after nmap can be directly changed to 192.168.0.1-100to scan the LAN segment or 192.168.0.1 to scan the entire LAN. In addition, there are various parameters to achieve specified port scanning, excluding scanning, or sending different types of packet scanning and other powerful functions.
Thank you for reading! This is the end of the article on "how to install NMAP in Linux system". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 219
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.