shadow-box / Violent-Python-Examples

328 stars 192 forks source link

python-nmap doesn't include PortScanner() module #3

Open bsdb0y opened 7 years ago

bsdb0y commented 7 years ago

nmap.PortScanner() AttributeError: 'module' object has no attribute 'PortScanner' screenshot from 2016-12-04 19-18-38

vldF commented 7 years ago

u get answer for this?

anchalraheja commented 6 years ago

Any update ?

DarthJahus commented 5 years ago

nmap is shadowed by some other nmap function on Python 3.7.

DarthJahus commented 5 years ago

This will probably solve it for you: https://stackoverflow.com/a/44946218/4484025

Majboor commented 1 year ago

here try this out if the problem doesnt work simple wrapper for many tools feel free to contribute https://github.com/Tech-Realm/The-Exploiter

Wleroy280 commented 1 year ago

`C:\Users\willy\PycharmProjects\TryExcept\venv\Scripts\python.exe C:/Users/willy/PycharmProjects/TryExcept/main.py Traceback (most recent call last): File "C:\Users\willy\PycharmProjects\TryExcept\main.py", line 1, in from pexpect import pxssh File "C:\Users\willy\PycharmProjects\TryExcept\venv\Lib\site-packages\pexpect\pxssh.py", line 23, in from pexpect import ExceptionPexpect, TIMEOUT, EOF, spawn ImportError: cannot import name 'spawn' from 'pexpect' (C:\Users\willy\PycharmProjects\TryExcept\venv\Lib\site-packages\pexpect__init__.py)

Process finished with exit code 1`

Majboor commented 1 year ago

https://github.com/Tech-Realm/The-Exploiter

check this out @Wleroy280