Nmap Development mailing list archives

Re: Error when running ajp scripts.


From: Mike Rodriguez <rodriguezml () gmail com>
Date: Thu, 28 Jun 2012 11:52:05 -0700

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
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
Fetchfile found C:\Nmap/scripts\amqp-info.nse
NSE: Script amqp-info.nse was selected by category.
Fetchfile found C:\Nmap/nselib/shortport.lua
Fetchfile found C:\Nmap/nselib/amqp.lua
Fetchfile found C:\Nmap/scripts\cccam-version.nse
NSE: Script cccam-version.nse was selected by category.
Fetchfile found C:\Nmap/scripts\db2-das-info.nse
NSE: Script db2-das-info.nse was selected by category.
Fetchfile found C:\Nmap/scripts\drda-info.nse
NSE: Script drda-info.nse was selected by category.
Fetchfile found C:\Nmap/nselib/drda.lua
Fetchfile found C:\Nmap/scripts\iax2-version.nse
NSE: Script iax2-version.nse was selected by category.
Fetchfile found C:\Nmap/nselib/comm.lua
Fetchfile found C:\Nmap/nselib/nsedebug.lua
Fetchfile found C:\Nmap/nselib/datafiles.lua
Fetchfile found C:\Nmap/scripts\jdwp-version.nse
NSE: Script jdwp-version.nse was selected by category.
Fetchfile found C:\Nmap/scripts\maxdb-info.nse
NSE: Script maxdb-info.nse was selected by category.
Fetchfile found C:\Nmap/nselib/tab.lua
Fetchfile found C:\Nmap/nselib/strbuf.lua
Fetchfile found C:\Nmap/scripts\ndmp-version.nse
NSE: Script ndmp-version.nse was selected by category.
Fetchfile found C:\Nmap/nselib/ndmp.lua
Fetchfile found C:\Nmap/nselib/match.lua
Fetchfile found C:\Nmap/scripts\netbus-version.nse
NSE: Script netbus-version.nse was selected by category.
Fetchfile found C:\Nmap/scripts\openlookup-info.nse
NSE: Script openlookup-info.nse was selected by category.
Fetchfile found C:\Nmap/scripts\ovs-agent-version.nse
NSE: Script ovs-agent-version.nse was selected by category.
Fetchfile found C:\Nmap/nselib/http.lua
Fetchfile found C:\Nmap/nselib/base64.lua
Fetchfile found C:\Nmap/nselib/url.lua
Fetchfile found C:\Nmap/scripts\pptp-version.nse
NSE: Script pptp-version.nse was selected by category.
Fetchfile found C:\Nmap/scripts\quake3-info.nse
NSE: Script quake3-info.nse was selected by category.
Fetchfile found C:\Nmap/scripts\skypev2-version.nse
NSE: Script skypev2-version.nse was selected by category.
Fetchfile found C:\Nmap/scripts\stun-version.nse
NSE: Script stun-version.nse was selected by category.
Fetchfile found C:\Nmap/nselib/stun.lua
Fetchfile found C:\Nmap/nselib/ipOps.lua
Fetchfile found C:\Nmap/scripts\wdb-version.nse
NSE: Script wdb-version.nse was selected by category.
Fetchfile found C:\Nmap/nselib/rpc.lua
Fetchfile found C:\Nmap/scripts\xmpp-info.nse
NSE: Script xmpp-info.nse was selected by category.
Fetchfile found C:\Nmap/nselib/dns.lua
Fetchfile found C:\Nmap/nselib/xmpp.lua
Fetchfile found C:\Nmap/nselib/sasl.lua
Fetchfile found C:\Nmap/nselib/smbauth.lua
Fetchfile found C:\Nmap/nselib/netbios.lua
NSE: failed to initialize the script engine:
C:\Nmap/nse_main.lua:671: 'ajp-headers' did not match a category, filename,
or d
irectory
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!


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

Hello Mike,

On Thu, Jun 28, 2012 at 1:46 PM, Mike Rodriguez <rodriguezml () gmail com>
wrote:
Thanks Dan.

I tried that but no joy.

I also wiped my install and grabbed it via svn again..still the same
issue.

Not really a coder but checking the scripts and their dependencies it
looks
like ajp-auth needs a table library but none exists in the nselib folder
(a
tab.lua does).

Could this be the issue?

No.

Please output the result of using -dd. it shouldn't be long since you
don't actually get to do any scanning...

What configure flags did you use?

--
- Patrick Donnelly

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


Current thread: