Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: problem with nmap
From: Ron <ron () skullsecurity net>
Date: Tue, 15 Mar 2011 11:08:40 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It appears that you're missing the 'mysql' library. I'm going to guess it's because you're on Nmap 5.00 - a fairly old 
version. I suggest updating to 5.50 or the latest SVN version and trying again. 

Ron

On Tue, 15 Mar 2011 02:20:34 -0300 Flavio Ferreira <xfl4v10 () googlemail com> wrote:
I'm trying to run a script with nmap only am I having the following
error:

root () xfl4v10:/usr/share/nmap/scripts# nmap -sV --script=mysql-brute
<target>

Starting Nmap 5.00 ( http://nmap.org ) at 2011-03-15 02:09 BRT
NSE: failed to initialize the script engine:
/usr/share/nmap/nse_main.lua:223: ./mysql-brute.nse:18: module
'mysql' not found:
    no field package.preload['mysql']
    no file './mysql.lua'
    no file '/usr/local/share/lua/5.1/mysql.lua'
    no file '/usr/local/share/lua/5.1/mysql/init.lua'
    no file '/usr/local/lib/lua/5.1/mysql.lua'
    no file '/usr/local/lib/lua/5.1/mysql/init.lua'
    no file '/usr/share/lua/5.1/mysql.lua'
    no file '/usr/share/lua/5.1/mysql/init.lua'
    no file '/usr/share/nmap/nselib/mysql.lua'
    no file './mysql.so'
    no file '/usr/local/lib/lua/5.1/mysql.so'
    no file '/usr/lib/lua/5.1/mysql.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
    [C]: in function 'assert'
    /usr/share/nmap/nse_main.lua:223: in function 'new'
    /usr/share/nmap/nse_main.lua:392: in function 'get_chosen_scripts'
    /usr/share/nmap/nse_main.lua:594: in main chunk
    [C]: ?

QUITTING!
root () xfl4v10:/usr/share/nmap/scripts#
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk1/jwsACgkQ2t2zxlt4g/Sp2ACgrPSXhnvFu2woKQcL6KMozrF7
k2wAoI24bzXTI+zXJDogCpaLx/D9b8MS
=OXxv
-----END PGP SIGNATURE-----
_______________________________________________
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 ]