** Description changed: The following two commands run at the command-line (the latter generated by zenmap's "Intense Scan" option) cause a failure due to missing script and library support. Apt suggests the scripts aren't in the Ubuntu archives. Details of the missing script are at http://nmap.org/nsedoc/lib/citrixxml.html + + The original script plus my attached patch are required to solve the + issue. $ apt-file search citrix | grep nselib $ $ sudo nmap -T4 -A -v --script all 192.168.0.20 $ sudo nmap -sS -sU -T4 -A -v -PE -PP -PS21,22,23,25,80,113,31339 -PA80,113,443,10042 -PO --script all 192.168.0.20 Starting Nmap 5.21 ( http://nmap.org ) at 2012-11-18 14:30 GMT NSE: failed to initialize the script engine: /usr/share/nmap/nse_main.lua:276: /usr/share/nmap/scripts/citrix-brute-xml.nse:35: module 'citrixxml' not found: - no field package.preload['citrixxml'] - no file '/usr/share/nmap/nselib/citrixxml.lua' - no file './citrixxml.lua' - no file '/usr/local/share/lua/5.1/citrixxml.lua' - no file '/usr/local/share/lua/5.1/citrixxml/init.lua' - no file '/usr/local/lib/lua/5.1/citrixxml.lua' - no file '/usr/local/lib/lua/5.1/citrixxml/init.lua' - no file '/usr/share/lua/5.1/citrixxml.lua' - no file '/usr/share/lua/5.1/citrixxml/init.lua' - no file './citrixxml.so' - no file '/usr/local/lib/lua/5.1/citrixxml.so' - no file '/usr/lib/x86_64-linux-gnu/lua/5.1/citrixxml.so' - no file '/usr/lib/lua/5.1/citrixxml.so' - no file '/usr/local/lib/lua/5.1/loadall.so' + no field package.preload['citrixxml'] + no file '/usr/share/nmap/nselib/citrixxml.lua' + no file './citrixxml.lua' + no file '/usr/local/share/lua/5.1/citrixxml.lua' + no file '/usr/local/share/lua/5.1/citrixxml/init.lua' + no file '/usr/local/lib/lua/5.1/citrixxml.lua' + no file '/usr/local/lib/lua/5.1/citrixxml/init.lua' + no file '/usr/share/lua/5.1/citrixxml.lua' + no file '/usr/share/lua/5.1/citrixxml/init.lua' + no file './citrixxml.so' + no file '/usr/local/lib/lua/5.1/citrixxml.so' + no file '/usr/lib/x86_64-linux-gnu/lua/5.1/citrixxml.so' + no file '/usr/lib/lua/5.1/citrixxml.so' + no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: - [C]: in function 'assert' - /usr/share/nmap/nse_main.lua:276: in function 'new' - /usr/share/nmap/nse_main.lua:434: in function 'Entry' - /usr/share/nmap/scripts/script.db:5: in function 'db_closure' - /usr/share/nmap/nse_main.lua:454: in function 'get_chosen_scripts' - /usr/share/nmap/nse_main.lua:766: in main chunk - [C]: ? + [C]: in function 'assert' + /usr/share/nmap/nse_main.lua:276: in function 'new' + /usr/share/nmap/nse_main.lua:434: in function 'Entry' + /usr/share/nmap/scripts/script.db:5: in function 'db_closure' + /usr/share/nmap/nse_main.lua:454: in function 'get_chosen_scripts' + /usr/share/nmap/nse_main.lua:766: in main chunk + [C]: ? QUITTING! - Installing the script directly doesn't completely solve the issue: $ sudo wget -O /usr/share/nmap/nselib/citrixxml.lua http://nmap.org/svn/nselib/citrixxml.lua $ sudo nmap -T4 -A -v --script all 192.168.0.20 Starting Nmap 5.21 ( http://nmap.org ) at 2012-11-18 14:40 GMT NSE: failed to initialize the script engine: /usr/share/nmap/nse_main.lua:276: /usr/share/nmap/nselib/citrixxml.lua:25: attempt to call field 'module' (a nil value) stack traceback: - [C]: in function 'assert' - /usr/share/nmap/nse_main.lua:276: in function 'new' - /usr/share/nmap/nse_main.lua:434: in function 'Entry' - /usr/share/nmap/scripts/script.db:5: in function 'db_closure' - /usr/share/nmap/nse_main.lua:454: in function 'get_chosen_scripts' - /usr/share/nmap/nse_main.lua:766: in main chunk - [C]: ? + [C]: in function 'assert' + /usr/share/nmap/nse_main.lua:276: in function 'new' + /usr/share/nmap/nse_main.lua:434: in function 'Entry' + /usr/share/nmap/scripts/script.db:5: in function 'db_closure' + /usr/share/nmap/nse_main.lua:454: in function 'get_chosen_scripts' + /usr/share/nmap/nse_main.lua:766: in main chunk + [C]: ? QUITTING! + + Applying the attached patch to the manually downloaded script allows + nmap to run.
** Description changed: The following two commands run at the command-line (the latter generated - by zenmap's "Intense Scan" option) cause a failure due to missing script - and library support. Apt suggests the scripts aren't in the Ubuntu - archives. + by zenmap's "Slow comprehensive scan" option) cause a failure due to + missing script and library support. Apt suggests the scripts aren't in + the Ubuntu archives. Details of the missing script are at http://nmap.org/nsedoc/lib/citrixxml.html The original script plus my attached patch are required to solve the issue. $ apt-file search citrix | grep nselib $ $ sudo nmap -T4 -A -v --script all 192.168.0.20 $ sudo nmap -sS -sU -T4 -A -v -PE -PP -PS21,22,23,25,80,113,31339 -PA80,113,443,10042 -PO --script all 192.168.0.20 Starting Nmap 5.21 ( http://nmap.org ) at 2012-11-18 14:30 GMT NSE: failed to initialize the script engine: /usr/share/nmap/nse_main.lua:276: /usr/share/nmap/scripts/citrix-brute-xml.nse:35: module 'citrixxml' not found: no field package.preload['citrixxml'] no file '/usr/share/nmap/nselib/citrixxml.lua' no file './citrixxml.lua' no file '/usr/local/share/lua/5.1/citrixxml.lua' no file '/usr/local/share/lua/5.1/citrixxml/init.lua' no file '/usr/local/lib/lua/5.1/citrixxml.lua' no file '/usr/local/lib/lua/5.1/citrixxml/init.lua' no file '/usr/share/lua/5.1/citrixxml.lua' no file '/usr/share/lua/5.1/citrixxml/init.lua' no file './citrixxml.so' no file '/usr/local/lib/lua/5.1/citrixxml.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.1/citrixxml.so' no file '/usr/lib/lua/5.1/citrixxml.so' no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: [C]: in function 'assert' /usr/share/nmap/nse_main.lua:276: in function 'new' /usr/share/nmap/nse_main.lua:434: in function 'Entry' /usr/share/nmap/scripts/script.db:5: in function 'db_closure' /usr/share/nmap/nse_main.lua:454: in function 'get_chosen_scripts' /usr/share/nmap/nse_main.lua:766: in main chunk [C]: ? QUITTING! Installing the script directly doesn't completely solve the issue: $ sudo wget -O /usr/share/nmap/nselib/citrixxml.lua http://nmap.org/svn/nselib/citrixxml.lua $ sudo nmap -T4 -A -v --script all 192.168.0.20 Starting Nmap 5.21 ( http://nmap.org ) at 2012-11-18 14:40 GMT NSE: failed to initialize the script engine: /usr/share/nmap/nse_main.lua:276: /usr/share/nmap/nselib/citrixxml.lua:25: attempt to call field 'module' (a nil value) stack traceback: [C]: in function 'assert' /usr/share/nmap/nse_main.lua:276: in function 'new' /usr/share/nmap/nse_main.lua:434: in function 'Entry' /usr/share/nmap/scripts/script.db:5: in function 'db_closure' /usr/share/nmap/nse_main.lua:454: in function 'get_chosen_scripts' /usr/share/nmap/nse_main.lua:766: in main chunk [C]: ? QUITTING! Applying the attached patch to the manually downloaded script allows nmap to run. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1080363 Title: module 'citrixxml' not found To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nmap/+bug/1080363/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs