Nmap has incorpated a scripting engine, for more complicated scanning tasks. The option to use default scripts is -sC. This option worked in the gentoo package for nmap 4.52 but no longer works with the gentoo 4.53 package. I have verified that the -sC option works correctly on my debian and windows packages for nmap 4.53. Attempting to use the -sC option in 4.53 produces the following response: localhost ~ # nmap -sC 192.168.1.105 Scantype C not supported Nmap 4.53 ( http://insecure.org ) Usage: nmap [Scan Type(s)] [Options] {target specification} Reproducible: Always Steps to Reproduce: 1.nmap -sC <ip> 2. 3. Actual Results: ocalhost ~ # nmap -sC localhost Scantype C not supported Nmap 4.53 ( http://insecure.org ) Usage: nmap [Scan Type(s)] [Options] {target specification} Expected Results: localhost ~ # nmap -sC localhost Starting Nmap 4.52 ( http://insecure.org ) at 2008-02-23 12:57 MST Interesting ports on localhost (127.0.0.1):
Merging nmap with the 'lua' USE flag should solve the problem (as you have said, the more complicated scanning tasks are now handled by scripts).