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#
root@kali:~/Desktop/tools/MITM/mitm# python3 mitm.py
[*] Available network interfaces:
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#