how to install & import nmap to use it with Python 3

Posted by

As far as I study more Python, I found lots of existing libraries that you can use to create your own tools. Some of them, Scapy, Nmap, etc… for network traffic analysis.

At this time let’s check how to install and import it the NMAP project to use it with Python.  The process to install and import it some of this libraries is a little different, you need to use the “pip” command,

Installation

Screen Shot 2019-05-02 at 14.45.13
NMAP installation

It will be really quick.

Import it to Python

Screen Shot 2019-05-02 at 14.50.13
Import NMAP

Note: Use exit () to quit Python.

That is all, you can create your own Python scripts using the NMAP functionalities.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s