Running on standalone machine with nmap 7.7 it works fine, but for Docker image
Scan domain with Nmap NSE Library (https://nmap.org/book/nse.html)
› Starting Nmap 7.40 ( https://nmap.org ) at 2018-08-09 11:43 UTC
› NSE: failed to initialize the script engine:
› /usr/bin/../share/nmap/nse_main.lua:816: 'http-cookie-flags' did not match a category, filename, or directory
› stack traceback:
› [C]: in function 'error'
› /usr/bin/../share/nmap/nse_main.lua:816: in local 'get_chosen_scripts'
› /usr/bin/../share/nmap/nse_main.lua:1271: in main chunk
› [C]: in ?
› QUITTING!
› Starting Nmap 7.40 ( https://nmap.org ) at 2018-08-09 11:43 UTC
› NSE: failed to initialize the script engine:
› /usr/bin/../share/nmap/nse_main.lua:816: 'http-cookie-flags' did not match a category, filename, or directory
› stack traceback:
› [C]: in function 'error'
› /usr/bin/../share/nmap/nse_main.lua:816: in local 'get_chosen_scripts'
› /usr/bin/../share/nmap/nse_main.lua:1271: in main chunk
› [C]: in ?
› QUITTING!
› Starting Nmap 7.40 ( https://nmap.org ) at 2018-08-09 11:43 UTC
› NSE: failed to initialize the script engine:
› /usr/bin/../share/nmap/nse_main.lua:816: 'http-cookie-flags' did not match a category, filename, or directory
› stack traceback:
› [C]: in function 'error'
› /usr/bin/../share/nmap/nse_main.lua:816: in local 'get_chosen_scripts'
› /usr/bin/../share/nmap/nse_main.lua:1271: in main chunk
› [C]: in ?
› QUITTING!
› Starting Nmap 7.40 ( https://nmap.org ) at 2018-08-09 11:43 UTC
› NSE: failed to initialize the script engine:
› /usr/bin/../share/nmap/nse_main.lua:816: 'http-jsonp-detection' did not match a category, filename, or directory
› stack traceback:
› [C]: in function 'error'
› /usr/bin/../share/nmap/nse_main.lua:816: in local 'get_chosen_scripts'
› /usr/bin/../share/nmap/nse_main.lua:1271: in main chunk
› [C]: in ?
› QUITTING!
› Starting Nmap 7.40 ( https://nmap.org ) at 2018-08-09 11:43 UTC
› NSE: failed to initialize the script engine:
› /usr/bin/../share/nmap/nse_main.lua:816: 'http-cookie-flags' did not match a category, filename, or directory
› stack traceback:
› [C]: in function 'error'
› /usr/bin/../share/nmap/nse_main.lua:816: in local 'get_chosen_scripts'
› /usr/bin/../share/nmap/nse_main.lua:1271: in main chunk
› [C]: in ?
› QUITTING!
possible to include newer nmap version in Docker image? possible solution below to include latest nmap
RUN apt update
RUN apt -y install wget
RUN wget https://nmap.org/dist/nmap-7.70-1.x86_64.rpm
RUN apt -y install alien
RUN alien nmap-7.70-1.x86_64.rpm
RUN dpkg -i nmap_7.70-2_amd64.deb
RUN nmap -version
Hi again, it's your beta tester number one... ;)
Running on standalone machine with nmap 7.7 it works fine, but for Docker image
possible to include newer nmap version in Docker image? possible solution below to include latest nmap