Nmap Development mailing list archives

Re: Nmap Script Engine on OpenWrt


From: Bruno <bruno () streamfeed com>
Date: Mon, 2 Apr 2018 15:24:28 -0300

Thanks Daniel Miller for your prompt answer,

I'm attaching the error log. (Not sure if it works for the dev list. If it doesn't I will reply with the error on clear text).

Compiling with the "--without-liblua" works flawlessly.

On 04/02/2018 02:42 PM, Daniel Miller wrote:
Bruno,

NSE doesn't make sense outside the context of Nmap, and many of the libraries it uses are compiled in to nmap itself. However, there shouldn't be any reason that it wouldn't compile on OpenWrt. Can you change the package's makefile so that it doesn't use --without-liblua in configure and then report what actually happens? What are the specific errors that happen?

Dan

On Mon, Apr 2, 2018 at 11:28 AM, Bruno <bruno () streamfeed com <mailto:bruno () streamfeed com>> wrote:

    Is it possible to run NSE scritps, but without the nmap scripting?

    I'm trying to run nmap scripting on OpenWRT, so the router let me
    know if there are vulnerabilities on my network to be patched.
    However, the nmap version for OpenWRT is missing scripting support
    (https://github.com/openwrt/packages/issues/4472
    <https://github.com/openwrt/packages/issues/4472>)

    The scripts are written in lua. So, what I'm planning to do is run
    all the scripts available from lua itself. Do I have to rewrite
    part of NSE or is there an easy way to do it? Or is there a way to
    enable scripting on OpenWRT with liblua?

    Thanks


    _______________________________________________
    Sent through the dev mailing list
    https://nmap.org/mailman/listinfo/dev
    <https://nmap.org/mailman/listinfo/dev>
    Archived at http://seclists.org/nmap-dev/



Attachment: errorNmap.txt
Description:

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

Current thread: