Nmap Development mailing list archives
Re: Bug or User Error
From: Daniel Miller <bonsaiviking () gmail com>
Date: Tue, 20 May 2014 10:37:19 -0500
On Thu, May 15, 2014 at 3:59 PM, Tim Naami <tnaami () gmail com> wrote:
I've installed NMAP 6.46 and reinstalled. On Ubuntu 12.04. When perform different types of scans either CLI or ZeNMAP I get errors about scrips failing to load. A command (as root) such as: nmap -p 1-65535 -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 192.168.1.100 Results in generating the following output root@IMS# sudo nmap -p 1-65535 -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 192.168.1.100 Warning: File ./nmap-os-db exists, but Nmap is using /usr/local/bin/../share/nmap/nmap-os-db for security and consistency reasons. set NMAPDIR=. to give priority to files in your local directory (may affect the other data files too). Starting Nmap 6.46 ( http://nmap.org ) at 2014-05-15 15:45 CDT NSE: Failed to load '/usr/local/bin/../share/nmap/scripts/http-favicon.nse'. NSE: Failed to load '/usr/local/bin/../share/nmap/scripts/ipv6-node-info.nse'. NSE: Failed to load '/usr/local/bin/../share/nmap/scripts/iscsi-info.nse'. NSE: Failed to load '/usr/local/bin/../share/nmap/scripts/mongodb-databases.nse'. NSE: Failed to load '/usr/local/bin/../share/nmap/scripts/mongodb-info.nse'. NSE: Failed to load '/usr/local/bin/../share/nmap/scripts/sip-methods.nse'. NSE: Failed to load '/usr/local/bin/../share/nmap/scripts/ssh-hostkey.nse'. NSE: Loaded 111 scripts for scanning. NSE: Script Pre-scanning. Initiating Ping Scan at 15:45 Scanning 192.168.1.100 [8 ports] Completed Ping Scan at 15:45, 2.02s elapsed (1 total hosts) I have verified the existence of the .nse files in the /share/nmap/scripts/ directory. This happens using both terminal/CLI or the ZENMAP GUI. I see NSE loaded 111 scripts (and similar numbers are loaded with other commands) but not the seven or so shown above. The scripts not loading vary with the command. Is this a bug or User Error (my fault)? Tim _______________________________________
Tim,
It looks like you have installed Nmap, but are also running from within the
source tree ("Warning: File ./nmap-os-db exists, but"). This is not usually
a problem, but you may have gotten something out-of-sync. A few questions
to narrow things down:
1. Do you get the same errors when running from a different directory (e.g.
/tmp/)?
2. Do you also get these errors when you `sudo make uninstall` then `sudo
make install`?
3. Can you provide the output of `nmap --version` so we can reproduce your
build parameters for testing?
Thanks for the report!
Dan
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/
Current thread:
- Bug or User Error Tim Naami (May 15)
- Re: Bug or User Error Daniel Miller (May 20)
- Message not available
- Re: Bug or User Error Daniel Miller (May 20)
- Message not available
- Re: Bug or User Error Daniel Miller (May 20)
