how to make nmap port scanner in python

Solutions on MaxInterview for how to make nmap port scanner in python by the best coders in the world

showing results for - "how to make nmap port scanner in python"
Enrico
03 May 2016
1#Here I am Using API
2
3import requests as r
4
5host = input("Enter Your Host IP/Domain")
6api = r.get(f"https://api.hackertarget.com/nmap/?q={host}")
7out = api.text
8
9print(out)
10