Skip to content

" Cannot Import name "PortScanner" from 'nmao' "  #28

@brandontict

Description

@brandontict

Running latest rolling version of Kali.

Updated as of today .

Followed instructions and used pip to install nmap .

Here is the full output of my issue.

( Nmap Installation )
➜ EvilURL git:(master) pip install python-nmap python-whois Requirement already satisfied: python-nmap in /usr/local/lib/python3.10/dist-packages (0.7.1) Requirement already satisfied: python-whois in /usr/local/lib/python3.10/dist-packages (0.7.3) Requirement already satisfied: future in /usr/lib/python3/dist-packages (from python-whois) (0.18.2) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

( Running EvilURL )
➜ EvilURL git:(master) python3 evilurl.py Traceback (most recent call last): File "/pentest/phish/EvilURL/evilurl.py", line 10, in <module> from nmap import PortScanner ImportError: cannot import name 'PortScanner' from 'nmap' (/usr/local/lib/python3.10/dist-packages/nmap/__init__.py)

Thank you for sharing this project .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions