Re: Nmap Script Engine on OpenWrt
Daniel Miller <[email protected]> Thu, 5 Apr 2018 08:30:10 -0500
| Newsgroups | gmane.comp.security.nmap.devel |
|---|---|
| Message-ID | <CABmvJnMM_FPY3Ht04X13pZ1C+b_P6gmw-_AXo7dMHfRAGzPcbw@mail.gmail.com> |
Bruno, Thanks for following up. It appears that you might have a version of Lua installed that is incompatible with Nmap. You can force Nmap to build and statically link the Lua 5.3.3 source that's included with Nmap by passing --with-liblua=included to configure. Let us know if this fixes the issue for you. Dan On Mon, Apr 2, 2018 at 1:24 PM, Bruno <[email protected]> wrote: > 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 <[email protected]> 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) >> >> 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 >> Archived at http://seclists.org/nmap-dev/ >> > > > _______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/