Re: Possible Bug report

"J. Moody" <[email protected]>
Newsgroups gmane.comp.security.nmap.devel
Message-ID <[email protected]>
Ok I was able to resolve this with "apt-get install libssl-dev"

Once all the dependencies were installed I recompiled and installed with:

./configure

make

make install

Now everything is peachy!


Cheers mates,

J Moody



On 05/08/2017 05:07 PM, J. Moody wrote:
>
> After a reboot I get a different error when I attempt to update the
> database:
>
>
> Starting Nmap 7.40SVN ( https://nmap.org ) at 2017-05-08 17:04 PDT
> NSE: Updating rule database.
> NSE: Failed to load '/usr/local/bin/../share/nmap/scripts//afp-brute.nse'.
> NSE: Failed to load
> '/usr/local/bin/../share/nmap/scripts//bitcoin-getaddr.nse'.
> NSE: Failed to load
> '/usr/local/bin/../share/nmap/scripts//bitcoin-info.nse'.
> NSE: Failed to load
> '/usr/local/bin/../share/nmap/scripts//bittorrent-discovery.nse'.
> NSE: Failed to load
> '/usr/local/bin/../share/nmap/scripts//broadcast-ping.nse'.
> NSE: Failed to load
> '/usr/local/bin/../share/nmap/scripts//dns-nsec3-enum.nse'.
> NSE: Failed to load
> '/usr/local/bin/../share/nmap/scripts//duplicates.nse'.
> NSE: Failed to load
> '/usr/local/bin/../share/nmap/scripts//http-cakephp-version.nse'.
> NSE: Failed to load
> '/usr/local/bin/../share/nmap/scripts//http-coldfusion-subzero.nse'.
> NSE: Failed to load
> '/usr/local/bin/../share/nmap/scripts//http-favicon.nse'.
> NSE: Failed to load
> '/usr/local/bin/../share/nmap/scripts//http-php-version.nse'.
> NSE: Failed to load
> '/usr/local/bin/../share/nmap/scripts//http-virustotal.nse'.
> NSE: Failed to load
> '/usr/local/bin/../share/nmap/scripts//http-vuln-cve2010-2861.nse'.
> NSE: Failed to load
> '/usr/local/bin/../share/nmap/scripts//http-vuln-cve2011-3368.nse'.
> NSE: Failed to load
> /usr/local/bin/../share/nmap/scripts//http-vuln-cve2014-3704.nse:
> ...al/bin/../share/nmap/scripts//http-vuln-cve2014-3704.nse:10: module
> 'openssl' not found:
>     NSE failed to find nselib/openssl.lua in search paths.
>     no field package.preload['openssl']
>     no file '/usr/local/share/lua/5.3/openssl.lua'
>     no file '/usr/local/share/lua/5.3/openssl/init.lua'
>     no file '/usr/local/lib/lua/5.3/openssl.lua'
>     no file '/usr/local/lib/lua/5.3/openssl/init.lua'
>     no file './openssl.lua'
>     no file './openssl/init.lua'
>     no file '/usr/local/lib/lua/5.3/openssl.so'
>     no file '/usr/local/lib/lua/5.3/loadall.so'
>     no file './openssl.so'
> stack traceback:
>     [C]: in function 'require'
>     ...al/bin/../share/nmap/scripts//http-vuln-cve2014-3704.nse:10: in
> function <...al/bin/../share/nmap/scripts//http-vuln-cve2014-3704.nse:1>
> NSE: failed to initialize the script engine:
> /usr/local/bin/../share/nmap/nse_main.lua:619: could not load script
> stack traceback:
>     [C]: in function 'error'
>     /usr/local/bin/../share/nmap/nse_main.lua:619: in field 'new'
>     /usr/local/bin/../share/nmap/nse_main.lua:1294: in main chunk
>     [C]: in ?
>
> QUITTING!
>
>
>
>
>
>
> On 05/08/2017 04:47 PM, J. Moody wrote:
>> I am unsure if this is a bug or something else but was unable to find
>> anything pertaining to it in the bug archives.
>>
>> I recently performed an update of nmap from within kali linux in
>> order to get the latest scripts since I was nearly 1000 scripts behind.
>>
>> I updated from github source with no errors.
>>
>> Upon finishing I issued the nmap --script-updatedb command and got
>> the following error:
>>
>> Starting Nmap 7.40 ( https://nmap.org ) at 2017-05-08 16:31 PDT
>> NSE: Updating rule database.
>> NSE: Failed to load /usr/bin/../share/nmap/scripts//ssl-dh-params.nse:
>> /usr/bin/../share/nmap/scripts//ssl-dh-params.nse:117: variable
>> 'fromhex' is not declared
>> stack traceback:
>>     [C]: in function 'error'
>>     /usr/bin/../share/nmap/nselib/strict.lua:80: in metamethod '__index'
>>     /usr/bin/../share/nmap/scripts//ssl-dh-params.nse:117: in
>> function </usr/bin/../share/nmap/scripts//ssl-dh-params.nse:1>
>> NSE: failed to initialize the script engine:
>> /usr/bin/../share/nmap/nse_main.lua:615: could not load script
>> stack traceback:
>>     [C]: in function 'error'
>>     /usr/bin/../share/nmap/nse_main.lua:615: in field 'new'
>>     /usr/bin/../share/nmap/nse_main.lua:1255: in main chunk
>>     [C]: in ?
>>
>> QUITTING!
>>
>> Everything else seems to be working, but I thought i would send this
>> so that you are alerted to the possible error in the DB at some point.
>>
>> Thanks,
>>
>> Josh Moody, CEO
>> Go Black Systems, LLC
>

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.