Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error ( Please help) #2

Open
amster69 opened this issue Apr 2, 2020 · 2 comments
Open

Error ( Please help) #2

amster69 opened this issue Apr 2, 2020 · 2 comments

Comments

@amster69
Copy link

amster69 commented Apr 2, 2020

root@kali:~/Desktop/tools/MITM/mitm# python3 mitm.py

::::    :::: ::::::::::::::::::::::::::    :::: 
+:+:+: :+:+:+    :+:        :+:    +:+:+: :+:+:+
+:+ +:+:+ +:+    +:+        +:+    +:+ +:+:+ +:+
+#+  +:+  +#+    +#+        +#+    +#+  +:+  +#+
+#+       +#+    +#+        +#+    +#+       +#+
#+#       #+#    #+#        #+#    #+#       #+#
###       ##############    ###    ###       ###

	Th3Hurrican3

[*] Available network interfaces:

0) lo
1) eth0
2) tun0
3) wlan0

mitm:interface> 2

[*] Available hosts:

Traceback (most recent call last):
File "mitm.py", line 43, in
discover.discover(net.get_attacker_ip(), net.get_net_mask())
File "/root/Desktop/tools/MITM/mitm/netdiscover.py", line 22, in discover
nm = nmap.PortScanner()
AttributeError: module 'nmap' has no attribute 'PortScanner'
root@kali:~/Desktop/tools/MITM/mitm#

@Gurkinator1
Copy link

I have the same issue, I found that it happens because of a wrong import (python-nmap3 instead of nmap) inside the netdiscover.py

@Gurkinator1
Copy link

I tried fixing it using https://pypi.org/project/python3-nmap/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants