Actions
Feature #13188
open/hipster: Update LUA for NMAP
Start date:
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
Description
HI,
:; nmap --script ssl-cert,ssl-enum-ciphers -p 443 site-URL
gives warning/error:
Starting Nmap 7.80 ( https://nmap.org ) at 2020-09-29 10:27 CEST NSE: Known bug in string.gsub in Lua 5.3 before 5.3.3 will cause bugs in NSE scripts.
Current LUA:
:; pkg list -H lua runtime/lua 5.2.4-2020.0.1.3 i--
Current LUA: http://www.lua.org/ftp/lua-5.4.0.tar.gz
Not sure if LUA version is affecting NMAP functionality, e.g Nmap Scripting Engine (NSE) or not
Regards
P.S. LUA is not shown on NMAP dependency (if my command is proper one):
:; pkg search -Hlo pkg.name require:runtime/lua | sort diagnostic/wireshark/wireshark-common image/gnuplot image/graphviz/graphviz-lua image/plplot image/rrdtool library/desktop/libpeas library/desktop/ptlib library/e/efl library/lua/lgi-52 media/vlc web/server/apache-24/module/apache-security
Updated by Predrag Zečević about 3 years ago
I was wrong (but not completely, because I missed lua-53):
:; pkg list | grep runtime/lua runtime/lua 5.2.4-2020.0.1.3 i-- runtime/lua-53 5.3.2-2020.0.1.2 i--
nmap is linked against 5.3:
:; ldd /usr/bin/nmap | grep lua liblua5.3.so => /usr/lib/64/liblua5.3.so
:; pkg search -Hlo pkg.name require:runtime/lua-53 | sort diagnostic/nmap-cli image/viewer/geeqie web/server/apache-24
Actions