) I want to know how i can fix theese errors! Everything from the code to the packages are all correct please ehlp!
I have the same issue. I tried running the file with ‘sudo’ and I get ModuleNotFoundError: No module named nmap
Have you being able to fix the issue?
Found a work around to the problem:
'You requested a scan type which requires root privileges.\nQUITTING!\n'
.
Here is a snippet of the code:
scanner.scan(ip_addr, '1-1024', '-v -sS', sudo=True)
When I run this, I’m prompted for sudo password and the scan is successful. Hope this helps someone.
1 Like