Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Error when running ajp scripts.
From: Mike Rodriguez <rodriguezml () gmail com>
Date: Thu, 28 Jun 2012 14:26:48 -0700

On Thu, Jun 28, 2012 at 11:59 AM, Patrick Donnelly <batrick () batbytes com>wrote:

On Thu, Jun 28, 2012 at 2:52 PM, Mike Rodriguez <rodriguezml () gmail com>
wrote:
Thanks Patrick. Please see the output below.

I am not using any configure flags.


C:\Nmap_SVN>nmap -sV --script=ajp-headers -p 8009 x.x.x.x -dd

Starting Nmap 6.01 ( http://nmap.org ) at 2012-06-29 04:49 AUS Eastern
Standard
Time
Fetchfile found C:\Nmap/nmap-services
[...]

It's getting files from C:\Nmap. Try again with "--datadir .".

[Also, please don't top-post.]

--
- Patrick Donnelly


Hello,

Using --datadir didn't help. I reinstalled nmap for a sanity check and ran
it again. Same results (pasted below).

I do not get the same error when using the *http* scripts or when using the
default -sC

C:\Nmap>nmap --script=*ajp* -p 8009 10.136.137.21 -dd

Starting Nmap 6.01 ( http://nmap.org ) at 2012-06-29 07:24 AUS Eastern
Standard
Time
Fetchfile found C:\Nmap/nmap-services
Winpcap present, dynamic linked to: WinPcap version 4.1.2 (packet.dll
version 4.
1.0.2001), based on libpcap version 1.0 branch 1_0_rel0b (20091008)
NPF service is already running.
Fetchfile found C:\Nmap/nmap.xsl
The max # of sockets we are using is: 0
--------------- Timing report ---------------
  hostgroups: min 1, max 100000
  rtt-timeouts: init 1000, min 100, max 10000
  max-scan-delay: TCP 1000, UDP 1000, SCTP 1000
  parallelism: min 0, max 0
  max-retries: 10, host-timeout: 0
  min-rate: 0, max-rate: 0
---------------------------------------------
Fetchfile found C:\Nmap/nse_main.lua
Fetchfile found C:\Nmap/scripts\script.db
Fetchfile found C:\Nmap/nselib/stdnse.lua
Fetchfile found C:\Nmap/nselib/strict.lua
NSE: failed to initialize the script engine:
C:\Nmap/nse_main.lua:671: '*ajp*' did not match a category, filename, or
directo
ry
stack traceback:
        [C]: in function 'error'
        C:\Nmap/nse_main.lua:671: in function 'get_chosen_scripts'
        C:\Nmap/nse_main.lua:1103: in main chunk
        [C]: ?

QUITTING!
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]