Nmmapper Nmap simple API

Nmmapper offers the best online nmap tools across the internet. We offer more options to our users/patrons than across the other similar providers like us. We use the python3-nmap which offer simple way of using nmap in python. This appears provides the following scan type

Following is what our api provides

  • Scan nmap top ports(default)

  • version detection

  • Os Detection

  • UDP Scan

Currently our API supports only that, and that’s what we hope to support nothing more than than. To use our API you will have to register Or you can contact us. And then generate API Key. Our API is not provided for free, you can either become a patreon or you can contact us and we see how to setup.

Performing a default scan

1
2
3
4
5
6
import requests
data = {"key":"xxxxx", "secret":"xxxxxx", "domain":"www.nmmapper.com"} # IP/domain
headers = {'User-agent':"xxxx"} # User-agent is required
url="https://www.nmmapper.com/api/v1/nmap/"

res = request.post(url, data=data, headers=headers)

The above is the default scan offered.

Performing API OS Detection

Nmap os scan attempts to perform os detection of the remote host

1
2
3
4
5
6
7
8
9
import requests
data = {"key":"xxxxx", "secret":"xxxxxx",
 "domain":"www.nmmapper.com", "scantype":"osdetection"} # IP/domain

headers = {'User-agent':"xxxx"} # User-agent is required

url="https://www.nmmapper.com/api/v1/nmap/"

res = request.post(url, data=data, headers=headers)

Top perform is detection you just pass data with scantype:”osdetection”

Performing Nmap API Version Detection

1
2
3
4
5
6
7
8
9
import requests
data = {"key":"xxxxx", "secret":"xxxxxx",
 "domain":"www.nmmapper.com", "scantype":"versiondetection"} # IP/domain

headers = {'User-agent':"xxxx"} # User-agent is required

url="https://www.nmmapper.com/api/v1/nmap/"

res = request.post(url, data=data, headers=headers)

** Performing Nmap API UDP Scan**

1
2
3
4
5
6
7
8
9
import requests
data = {"key":"xxxxx", "secret":"xxxxxx",
 "domain":"www.nmmapper.com", "scantype":"udp"} # IP/domain

headers = {'User-agent':"xxxx"} # User-agent is required

url="https://www.nmmapper.com/api/v1/nmap/"

res = request.post(url, data=data, headers=headers)

That’s all about our nmap api.

DISCLAIMER

We hope that you are authorized to perform scans on the host. That’s why we have limited to only the above scan types just to avoid misuse.