Cross-compiling Nmap Script Engine with Buildroot
[email protected] Mon, 28 May 2018 16:52:01 +0200
| Newsgroups | gmane.comp.security.nmap.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear all, I'm trying to cross-compile Nmap Script Engine with Buildroot (towards ARM RPi3 image); yet, the nmap package for Buildroot (https://github.com/buildroot/buildroot/tree/master/package/nmap) is missing NSE support. By forcing the --with-liblua=included tag into the package's configure options (following this threat for enabling NSE on OpenWRT: http://seclists.org/nmap-dev/2018/q2/0), nmap seems to build normally. However I encounter many errors in runtime when running nmap with scripts including telnet-brute, using nsock: ~ $ nmap -p 23 --script telnet-brute 192.168.101.11 Starting Nmap 7.70 ( https://nmap.org ) at 1970-01-29 07:17 UTC nmap: nse_nsock.cc:672: int receive_buf(lua_State*, int, lua_KContext): Assertion `lua_gettop(L) == 7' failed. Aborted Have you any idea of what I'm missing here? Thanks, Alexis. _______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/