javaandroidnmap

nmap unable to find nmap-services


In some Android devices i got this erros :

Unable to find nmap-services! Resorting to /etc/services
Unable to open /etc/services for reading service information

This happen with Android 8, 8.1 and Android P

In lower versions it is working well

I'm using precompiled binaries V. 7.31 from : https://github.com/kost/nmap-android/releases

I have read too about nmap --datadir but can't make it works. Any Idea ?

P.s : The tests performed on Emulators and Real devices too


Solution

  • Solved by copying Nmap extra data like "services,scripts etc. into main nmap binary directory"