to install amap run the following command on kali linux
sudo apt install amap
amap(Application Mapper) is a tool for identifying application layer protocols in network traffic. This carries out fingerprinting of services on specific port numbers by checking for applicaiton layer protocols and mapping them to open ports. Its quite a simple tool to use.
amap -bqv 192.168.43.1 80
The command checks for the application layer service running on port 80 and the figure shows an example of the result. You can see that there is a lot of data but some useful information is in the result such as the version of HTTP used, the openSSL package, PHP versions, apache version and more.
You can scan on multiple ports by separting them with a comma as shown below.
amap -bvq 192.168.43.1 80,443
You can save the output to a file by specifing the file name as shown below.
amap -bvq 192.168.43.1 80,443 -o output.txt
You can scan for a range of ports for the whole system which can be helpful if you are not sure of the ports you are interested in
amap -B 192.168.43.1 1-65535