Sweshi's Tutorials

Scanning Tool Tutorials


Amap tutorial

NOTICE: All the tutorials on this website are meant to help you find security vulnerabilties on your own network and devices to understand your security posture before black hats do. Penetration testing without a written consent is illegal and you can be prosecuted. Use these tutorials to secure your own networks or those whose permission you have been granted. Keep it ethical and keep it professional.
Table of Contents
amap installation

to install amap run the following command on kali linux

sudo apt install amap
amap introduction

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 usage example: scanning for a port
amap -bqv 192.168.43.1 80 amap tutorial:amap -bqv 192.168.43.141.

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 usage example: scanning on multiple ports
amap -bvq 192.168.43.1 80,443
saving to a file

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
amap usage example: scanning a range of ports

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