top of page
  • Telegram
  • TikTok
  • Facebook
  • Instagram
  • YouTube

How to Install and Use Nmap in Termux on Android

Writer's picture: TEAMTEAM

Text "Install Nmap in Termux" on black. Bold, colorful text with a red and blue eye graphic on the right.

Contents of the article

  1. What is Nmap

  2. Installing Nmap in Termux

  3. Using Nmap in Termux

  4. Conclusion

If you're interested in information security and ethical hacking, you've probably heard of Nmap. In this article, I'll show you how to install Nmap in Termux and also introduce some basic Nmap commands.

What is Nmap

NMAP (Network Mapper) is a popular tool for scanning networks that is used to scan IP addresses and ports in order to obtain information about them. It was created to detect devices and services on the network.

Nmap uses a variety of scanning techniques such as port scanning, version detection, and operating system detection, making it a valuable tool for network administrators and security professionals.

You won’t believe it, but NMAP was developed by Gordon Lyon back in 1997.

Installing Nmap in Termux

Installation of NMAP in Termux is a simple process that can be easily performed by following a few simple steps. These are these steps:

Step 1 : First you need to download and install the latest version of Termux.

Step 2 : After installing, the first thing you need to update Termux packages:

1

apt update && apt upgrade -y

Step 3 : Now run the following command to install Nmap in Termux:

1

pkg install nmap

After running these commands, Nmap will be successfully installed in Termux.

Step 4 : You can verify the success of Nmap installation by checking the version:

1

nmap --version


Using Nmap in Termux

Now let's discuss some main NMAP teams for TermUx so that you can perform basic problems of scanning networks.

The following command will perform a basic network scan:

1

nmap target_ip

Use this type of command to scan multiple targets at once:

1

nmap целевой_ip1 target_ip2 target_ip3

Scanning only specific ports on targets:

1

nmap -p <port1,port2> target_ip

Scanning all ports for goals:

1

nmap -p- target_ip

Inclusion of the determination of the version for services in open ports:

1

nmap -sV target_ip

Determining the operating system running on the target network:

1

nmap -O target_ip

Aggressive network scanning to determine its services, OS, version and scripts:

1

nmap -A target_ip

You can use this command to save scan results in a specific file format:

1

nmap -oN

Use this command to save scan results to an XML file:

1

nmap -oX

You can use this command to find vulnerabilities in the target host:

1

nmap --script vuln

Basic Nmap commands in Termux:
nmap IP_address - basic scan
nmap IP_address1 IP_address2 ... - scanning multiple targets
nmap -p Port1,port2 IP_address - scan specific ports
nmap -p- IP_address - scan all ports
nmap -sV IP_address - version detection
nmap -O IP_address - определение ОС
nmap -A IP_address - aggressive scanning
nmap -oN file_name IP_address - output to a specific file
nmap -oX file_name.xml IP_address - output to XML
nmap --script vuln целевой_IP-address - vulnerability search
For more information about the teams, see the article “ Termux by categories ”.

Conclusion

NMAP is a popular tool for scanning networks and searching for network vulnerabilities. If you study NMAP, this tool will make you a specialist in network safety.

You learned what NMAP is and how to install it in Termux .. I also provided the main NMAP commands for Termux so that you can easily get access to them in the future.

How to Install and Use Nmap in Termux on Android

Comentarios


bottom of page