What is Nmap in termux?
How to install Nmap in termux?
apt update && apt upgrade -y
This command will Install updates in all the previously installed packages in termux.
pkg install nmap -y
Now if you see the $ sign on your Termux that means its Completely installed.
NOTE: This post is only for educational purposes. I and this site do not support any criminal activity. If you are doing any sort of misuse of this information This site is not responsible for that. THIS SITE ONLY SUPPORT ETHICAL HACKING.
How to Use Nmap in Termux :
How to scan a Website with Nmap Termux :
nmap Scanme.nmap.org
Output :
You can see that we got an IP-Adress of the website in the second line as well as we can see the latency is 0.24 Seconds.and we can also see all the open port of the website.
Scan your Local Network with Nmap Termux :
nmap 192.168.1.1/24
Output :
Now you can see in the below picture, I have 2 devices in my network. and you can also see all the open ports. The 192.168.1.202 Host is up and the latency is 0.0025s. If you have multiple devices on your network then it will show you a list of all the Devices.
Aggressive scan using Nmap Termux :
Output :
Now you can see Its showing iBall Baton I Login as well as it is showing the URL of the login page. This is just my local network that's why you are unable to see anything interesting but if are scanning any website then it can surely give you some extra data.
Scan a Single port in Nmap Termux :
Output :
Scan Multiple Port in Nmap Termux :
Do you know most of the time when you scan a Network and you find a device with open port 80 as well as 443 then it means that its a WebServer? So In the below command, I am gonna scan these two ports on my network, of course, I don't have a webserver running in my home so it won't show 443 port but if you scan it in a network where they have a webserver then it will show with this command.Output :
In the below picture you can clearly see that it is only checking for 2 port and as the output, we can see in my routers Ip address port 80 is open but port 443 is not. And in my second device, Both ports are closed.
Output :
In the below picture you can clearly see that it is only checking for 2 port and as the output, we can see in my routers Ip address port 80 is open but port 443 is not. And in my second device, Both ports are closed.
Ping A Website or an IP-Address with Nmap in Termux :
If you Quickly wanna Check if a Host is still up or not then you can do a Ping. It will tell you the amount of time it took the Nmap to make a connection with the website or the Device.nmap -sP 192.168.1.202
You can also Type Nmap -sP www.google.com and it will ping the google server and tell you latency.
Output :
You can see that the latency is 0.02 seconds and the Host is still up.
nmap -sP 192.168.1.202
You can also Type Nmap -sP www.google.com and it will ping the google server and tell you latency.
Output :
You can see that the latency is 0.02 seconds and the Host is still up.
Perform a Quick Scan with Nmap in Termux:
If you just wanna do a quick scan of the network and you only wanna know basic information then you can use -F Argument. It is much faster than the normal scan.nmap -F 192.168.1.1/24
Output :
Here you can see I got the output much faster and The result is still good.
Check Nmap Version in Termux :
If you wanna check the Nmap Version then you can type the below command.nmap -V
Output :
Now you can see the Nmap Version in the below picture.
Conclusion :
Nmap is a Fine information gathering tool and it can be useful for people who are at least intermediate hackers. There are more New and advanced Information gathering tools. Most of the Nmap Commands are not working in termux because they require root privileges. Still, you can use this tool to scan networks and you will get decent information about the network. If you have any questions, just ask me in the comments and will surly give you a reply, Thanks For Reading Guys, and as always Stay Ethical👾.
Perform a Quick Scan with Nmap in Termux:
nmap -F 192.168.1.1/24
Output :
Here you can see I got the output much faster and The result is still good.
Check Nmap Version in Termux :
nmap -V
Output :
Now you can see the Nmap Version in the below picture.